Durable Functions

Keep a waiting step alive

Changed on

Tells the workflow step waiting on the token that the work is still going on, restarting its heartbeat timeout. A heartbeat never extends the step's own timeout, and a step without a heartbeat timeout needs none.

post/durable-callbacks/heartbeat

Request

  • Base URL
    https://api.volcano.dev
  • Auth
    none required

Request body

HeartbeatDurableCallbackRequest required
token, string required

The vcb_ token the workflow handed out. It is the only credential the callback operations take, so treat it as a secret.

Response

The step is still waiting

DurableCallbackOutcome required
status, 'waiting' | 'delivering' | 'succeeded' | 'failed' required

waiting until the token is succeeded or failed. delivering while the outcome is on its way to the workflow; Volcano finishes the delivery on its own. succeeded or failed once the workflow has the outcome.

Changes