onInvalidated static method

Stream<void> onInvalidated(
  1. List key
)

Returns a broadcast Stream that emits whenever queries matching key are invalidated.

Scoped to currentScope. Subscribed to by BloomQuery to trigger background re-fetching.

Implementation

static Stream<void> onInvalidated(List<dynamic> key) =>
    currentScope.onInvalidated(key);