openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
15 lines (14 loc) • 458 B
JavaScript
//#region src/cron/event-occurrence-admission.ts
/**
* Admits a hook or channel event's occurrence. An event occurrence has no
* parent, so it holds nothing to release. Loads admission only when the turn runs.
*/
async function admitEventOccurrence(e) {
const { admitScheduledOccurrence: t } = await import("./execution-context-admission-BJKGrIzR.mjs");
return await t({
...e,
trigger: "event"
});
}
//#endregion
export { admitEventOccurrence as t };