UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

20 lines (19 loc) • 516 B
//#region src/shared/effect-authority.ts /** Transport callers retain the public handoff shape without cron receipt custody. */ function captureEffectAuthority() { return { active: false, run(e) { return e(); }, async initiate(e) { return e(); } }; } /** Independent owners, such as transport crypto maintenance, restore their own scope explicitly. */ function withEffectAuthority(e, t) { return e ? e.run(t) : t(); } //#endregion export { withEffectAuthority as n, captureEffectAuthority as t };