@javelin/core
Version:
This package is a general catch-all for stuff shared by many Javelin packages, including:
7 lines • 318 B
TypeScript
export declare type StackPool<$Value> = {
allocate(): void;
retain(): $Value;
release(obj: $Value): void;
};
export declare function createStackPool<$Value>(type: (pool: StackPool<$Value>) => $Value, reset: (obj: $Value) => $Value, size: number): StackPool<$Value>;
//# sourceMappingURL=stack_pool.d.ts.map