Ditto Change Handler With Next Signal
typealias DittoChangeHandlerWithNextSignal = (result: DittoQueryResult, signalNext: DittoSignalNext) -> Unit
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. See DittoSignalNext for how this mechanism handles backpressure.
Since
4.5.0
Parameters
result
A DittoQueryResult containing the items that have changed.
signal Next
Tells Ditto that the handler is ready to receive another callback.