UNPKG

marko

Version:

Optimized runtime for Marko templates.

6 lines (5 loc) 367 B
import { type Scope } from "../common/types"; export declare function $signalReset(scope: Scope, id: string | number): void; export declare function $signal(scope: Scope, id: string | number): AbortSignal; /** Enrols `scope` with its branch so destroying the branch cleans it up. */ export declare function trackCleanup(scope: Scope, subscribers?: Set<Scope>): void;