Refactoring
This commit is contained in:
parent
5566f6f6ba
commit
5bbb722b20
26 changed files with 1083 additions and 756 deletions
9
Sources/DataRaft/Extensions/NotificationCenter.swift
Normal file
9
Sources/DataRaft/Extensions/NotificationCenter.swift
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
import Foundation
|
||||
|
||||
public extension NotificationCenter {
|
||||
/// The notification center dedicated to database events.
|
||||
///
|
||||
/// Use this instance to post and observe notifications related to database lifecycle and
|
||||
/// operations instead of using the shared `NotificationCenter.default`.
|
||||
static let database = NotificationCenter()
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue