IStore.subscribe() method
Signature
subscribe(fn: (events: StoreEvent<T>[]) => void): number;
Parameters
Parameter | Type | Description |
---|---|---|
fn | (events: StoreEvent<T>[]) => void |
subscribe(fn: (events: StoreEvent<T>[]) => void): number;
Parameter | Type | Description |
---|---|---|
fn | (events: StoreEvent<T>[]) => void |