Skip to Content

afterStoreInit Method

An optional hook that runs after the store has been initialized

API

afterStoreInit?(): void;

Example

import {emitter, Store} from '@bitfiber/rx'; class StoreWithHook extends Store { start = emitter<void>(); afterStoreInit(): void { // Runs some logic after the store has been initialized } }
Last updated on