eve
Version:
Filesystem-first framework for durable backend AI agents that run anywhere.
9 lines (8 loc) • 427 B
TypeScript
import type { CancelFn } from "#channel/routes.js";
import type { Runtime } from "#channel/types.js";
/**
* Builds the route-handler `cancel` helper for one channel. Resolves the
* channel-local continuation token to its owning session without delivering
* input, then delegates to the runtime's session-id-addressed cancellation.
*/
export declare function createCancelFn(runtime: Runtime, channelName: string): CancelFn;