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