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

    Type Alias CommonTaskOptions

    Common options for a task. These options are used by both TaskOptions and ParentTaskOptions.

    type CommonTaskOptions = {
        id: string;
        retryOptions?: TaskRetryOptions;
        sleepMsBeforeRun?: number;
        timeoutMs: 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 tasks in the same executor.

    retryOptions?: TaskRetryOptions

    The options for retrying the task.

    sleepMsBeforeRun?: number

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

    timeoutMs: number

    The timeout for the task run function.