Refactoring
This commit is contained in:
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()
|
||||
}
|
||||
Reference in New Issue
Block a user