DurableQueueDioContext extension

Dio helpers for a running task.

on
  • TaskContext

Methods

dioCancelToken() → CancelToken

Available on TaskContext, provided by the DurableQueueDioContext extension

A CancelToken that is cancelled when this task's cancellation is requested.
withIdempotencyKey(Options? options, {String header = defaultIdempotencyHeader}) → Options

Available on TaskContext, provided by the DurableQueueDioContext extension

options with this task's idempotency key added as the header.