openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
3 lines • 571 B
JavaScript
import{o as resolveGlobalSingleton}from"./global-singleton-DolL9xGt.mjs";
//!src/gateway/in-process-session-delivery.ts
const generations=resolveGlobalSingleton(Symbol.for(`openclaw.inProcessSessionDeliveryGenerations`),()=>/* @__PURE__ */ new WeakMap);function bindInProcessSessionDeliveryGeneration(e,t){if(t)generations.set(e,Object.freeze({...t}));return e}function readInProcessSessionDeliveryGeneration(e){return typeof e===`object`&&e!==null?generations.get(e):void 0}export{readInProcessSessionDeliveryGeneration as n,bindInProcessSessionDeliveryGeneration as t};