UNPKG

marko

Version:

Optimized runtime for Marko templates.

8 lines (7 loc) 472 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; export declare let abortsEnabled: undefined | 1; export declare let subscriptionsEnabled: undefined | 1;