MCPcopy Create free account
hub / github.com/RtlZeroMemory/Rezi / createLayerStackState

Function createLayerStackState

packages/core/src/runtime/layers.ts:308–313  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

306 * Create initial layer stack state.
307 */
308export function createLayerStackState(): LayerStackState {
309 return Object.freeze({
310 stack: Object.freeze([]),
311 closeCallbacks: new Map(),
312 });
313}
314
315/**
316 * Push a layer onto the stack.

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected