StoreListenerFilters

See source code
Table of contents

Filters for store listeners to control which changes trigger the listener.

interface StoreListenerFilters {}

Example

const filters: StoreListenerFilters = {
  source: "user", // Only listen to user changes
  scope: "document", // Only listen to document-scoped records
};

Properties

scope

Filter by the scope of records

scope: "all" | RecordScope;

source

Filter by the source of changes

source: "all" | ChangeSource;

Prev
StoreError
Next
StoreSchemaOptions