UNPKG

jelenjs

Version:

Core runtime library for JelenJS - an experimental UI framework with fine-grained reactivity

17 lines (16 loc) 408 B
/** * Queue system for managing effect execution */ import { EffectFunction } from './constants'; /** * Enqueue an effect to be executed */ export declare function enqueueEffect(effect: EffectFunction): void; /** * Schedule a microtask to flush the effect queue */ export declare function scheduleFlush(): void; /** * Flush all pending effects */ export declare function flushPendingEffects(): void;