EffectFactory type
Home > @rimitive/signals > EffectFactory
EffectFactory type
Section titled “EffectFactory type”The effect factory function type. Accepts either a plain function or a FlushStrategy for deferred execution.
Signature:
export type EffectFactory = (run: EffectRun) => () => void;References: EffectRun