effect
import { effect } from "@alloy-js/core";
function effect<T>(fn: (prev?: T) => T, current?: T, options?: EffectOptions): void;Parameters
Section titled “Parameters”| fn |
|
| current | optional
|
| options | optional
|
Options
Section titled “Options”| debug | optionalEffectDebugOptions |
Returns
Section titled “Returns”void