durable-execution - v0.8.0
    Preparing search index...

    Type Alias DurableTaskCommonOptions

    Common options for a durable task. These options are used by both DurableTaskOptions and DurableParentTaskOptions.

    type DurableTaskCommonOptions = {
        id: string;
        retryOptions?: DurableTaskRetryOptions;
        timeoutMs: number;
        sleepMsBeforeRun?: number;
    }
    Index

    Properties

    id: string

    A unique identifier for the task. Can only contain alphanumeric characters and underscores. The identifier must be unique among all the durable tasks in the same durable executor.

    The options for retrying the task.

    timeoutMs: number

    The timeout for the task run function. If a value < 0 is returned, the task will be marked as failed and will not be retried.

    sleepMsBeforeRun?: number

    The delay before running the task run function. If the value is < 0 or undefined, it will be treated as 0.