mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-03-29 05:31:53 +02:00
Support typed errors. Misc formatting
This commit is contained in:
@@ -38,7 +38,12 @@ extension Internals {
|
||||
|
||||
let observer: NSObjectProtocol
|
||||
|
||||
init(notificationName: Notification.Name, object: Any?, queue: OperationQueue? = nil, closure: @escaping (_ note: Notification) -> Void) {
|
||||
init(
|
||||
notificationName: Notification.Name,
|
||||
object: Any?,
|
||||
queue: OperationQueue? = nil,
|
||||
closure: @escaping (_ note: Notification) -> Void
|
||||
) {
|
||||
|
||||
self.observer = NotificationCenter.default.addObserver(
|
||||
forName: notificationName,
|
||||
|
||||
Reference in New Issue
Block a user