JS API Reference

Module: task/task

Table of contents

Enumerations

Classes

Type Aliases

Type Aliases

TaskOptions

Ƭ TaskOptions: Object

Type declaration

NameTypeDescription
maxRetries?numbermaximum number of retries if task failed due to provider reason, default = 5
timeout?numbertimeout in ms for task execution, including retries, default = 300_000 (5min)
activityReadySetupFunctions?Worker<unknown>[]array of setup functions to run on each activity

Defined in

src/task/task.ts:16