Type alias StoreObservationHandlerWithSignalNext<T>

StoreObservationHandlerWithSignalNext<T>: ((queryResult, signalNext) => void)

A store observation handler is called whenever an active store observer receives new results.

Call signalNext() to signal that the handler is ready to receive the next callback from the store observer.

Type Parameters

  • T = any

    The type of items in the query result.

Type declaration

    • (queryResult, signalNext): void
    • Parameters

      • queryResult: QueryResult<T>
      • signalNext: (() => any)
          • (): any
          • Returns any

      Returns void