class Effect
implements Dependant
Re-export
import { Effect } from "https://deno.land/x/tui@2.0.0/mod.ts";
Effect is an container for callback function, which runs every time any of its dependencies get updated.
When initialized that functions gets ran and all dependencies for it are tracked.
Constructors
new
Effect(effectable: Effectable)Properties
dependencies: Set<Dependency>
update: Effectable