openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
16 lines (15 loc) • 611 B
JavaScript
import { a as resolveGlobalSingleton } from "./global-singleton-0m-JziJW.mjs";
//#region src/plugin-state/plugin-state-store.native-binding.ts
const stores = resolveGlobalSingleton(Symbol.for("openclaw.pluginStateNativeBindingStores"), () => /* @__PURE__ */ new WeakMap());
function bindPluginStateNativeBindingStore(store, options, assertCurrent) {
stores.set(store, {
options,
assertCurrent
});
return store;
}
function capturePluginStateNativeBindingStore(store) {
return stores.get(store);
}
//#endregion
export { capturePluginStateNativeBindingStore as n, bindPluginStateNativeBindingStore as t };