rune_helpers.svelte.ts

view source

Declarations
#

effect_with_count
#

rune_helpers.svelte.ts view source

(fn: (count: number) => void, initial?: number): void import {effect_with_count} from '@fuzdev/fuz_ui/rune_helpers.svelte.js';

Runs fn in an $effect, passing true as the skip argument for the first count runs. Calls fn even when skipping so callers can read any dependent signals.

fn

type (count: number) => void

initial

type number
default 0

returns

void

Imported by
#