Ditto JS SDK v5.0.0
    Preparing search index...

    Type Alias StoreObservationHandlerWithSignalNext<T>

    StoreObservationHandlerWithSignalNext: (
        queryResult: QueryResult<T>,
        signalNext: () => any,
    ) => 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: QueryResult<T>, signalNext: () => any): void
      • Parameters

        Returns void