JS API Reference
Module: task/task
Table of contents
Enumerations
Classes
Type Aliases
Type Aliases
TaskOptions
Ƭ TaskOptions: Object
Type declaration
Name | Type | Description |
---|---|---|
maxRetries? | number | maximum number of retries if task failed due to provider reason, default = 5 |
timeout? | number | timeout in ms for task execution, including retries, default = 300_000 (5min) |
activityReadySetupFunctions? | Worker <unknown >[] | array of setup functions to run on each activity |