Other Type Aliases
The following type aliases are available globally.
-
Undocumented
Declaration
Swift
public typealias DittoSignalNext = () -> Void
-
A store observation handler is called whenever an active store observer receives a new query result.
Declaration
Swift
public typealias DittoStoreObservationHandler = (_ result: DittoQueryResult) -> Void
-
A store observation handler is called whenever an active store observer receives a new query result.
Call
signalNext()
to signal that the handler is ready to receive the next callback from the store observer.Declaration
Swift
public typealias DittoStoreObservationHandlerWithSignalNext = (_ result: DittoQueryResult, _ signalNext: @escaping DittoSignalNext) -> Void