Anchorage API reference
    Preparing search index...

    Interface DurableObjectRunLifecycleHooks

    interface DurableObjectRunLifecycleHooks {
        abandonApprovals(
            workflowId: string,
            runId: string,
            status: "cancelled" | "timed_out",
        ): Promise<void>;
        discardScheduleDispatch?(
            scheduleId: string,
            dispatchId: string,
            runId: string,
        ): Promise<void>;
    }
    Index

    Methods

    • Parameters

      • workflowId: string
      • runId: string
      • status: "cancelled" | "timed_out"

      Returns Promise<void>