UNPKG

rc-js-util

Version:

A collection of TS and C++ utilities to help writing performant and correct applications, achieved through strict typing and (removable) invariant checking.

18 lines 505 B
import type { IManagedResourceNode } from "../../lifecycle/manged-resources.js"; export declare class LifecycleStack { constructor(); push(): IManagedResourceNode; pop(): IManagedResourceNode; /** * For the current level, return the owning node. */ getTop(): IManagedResourceNode; getSize(): number; private readonly ownerStack; private index; } /** * @public */ export declare const lifecycleStack: LifecycleStack; //# sourceMappingURL=lifecycle-stack.d.ts.map