index.EffectFn
EffectFn: () => void | () => void
(): void | () => void
Callback function executed within a reactive effect context.
void | () => void
Remarks
Any reactive signal or proxy property accessed during the execution of this callback will be dynamically tracked as a dependency. The callback can optionally return a cleanup function that runs before the next re-execution or when the effect is disposed.