eve
Version:
Filesystem-first framework for durable backend AI agents that run anywhere.
1 lines • 291 B
JavaScript
import{resumeHook}from"#internal/workflow/runtime.js";import{HookNotFoundError}from"#compiled/@workflow/errors/index.js";async function sendTurnControlStep(e){"use step";try{await resumeHook(e.controlToken,e.payload)}catch(e){if(!HookNotFoundError.is(e))throw e}}export{sendTurnControlStep};