Home / @sym20/core / IStore / subscribe

IStore.subscribe() method

Signature
subscribe(fn: (events: StoreEvent<T>[]) => void): number;

Parameters

ParameterTypeDescription
fn(events: StoreEvent<T>[]) => void