FlushStrategy type
Home > @rimitive/signals > FlushStrategy
FlushStrategy type
Section titled “FlushStrategy type”A flush strategy controls when effect re-runs execute.
Signature:
export type FlushStrategy = { run: () => void | (() => void); create: (track: EffectDeps['track']) => (node: EffectNode) => void;};References: EffectNode