Skip to content

EffectRun type

Home > @rimitive/signals > EffectRun

Input type for effect - either a plain function or a flush strategy

Signature:

type EffectRun = (() => void | (() => void)) | FlushStrategy;

References: FlushStrategy