Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/windmill/node_modules/evt/tools/powerhooks/useEffectIf.d.ts>useEffectIf

Windmill deno client (separated from the main repo because most of the code is auto-generated from the openapi and not worth committing)
Go to Latest
function useEffectIf
import { useEffectIf } from "https://deno.land/x/windmill@v1.41.0/node_modules/evt/tools/powerhooks/useEffectIf.d.ts";

Type Parameters

Deps extends readonly any[]

Parameters

effect: (params: { deps: Deps; }) => (void | Destructor)
effectRunCondition: Deps | boolean