TaskOptions

​task/service.TaskOptions

Hierarchy

Table of contents

Properties

Properties

maxParallelTasks

• Optional maxParallelTasks: number
Number of maximum parallel running task on one TaskExecutor instance

Defined in

​

taskRunningInterval

• Optional taskRunningInterval: number

Defined in

​

activityStateCheckingInterval

• Optional activityStateCheckingInterval: number

Defined in

​

taskTimeout

• Optional taskTimeout: number

Defined in

​

logger

• Optional logger: Logger​
Logger module

Overrides

Defined in

​

storageProvider

• Optional storageProvider: StorageProvider​

Defined in

​

yagnaOptions

• Optional yagnaOptions: Object

Type declaration

Name
Type
Description
apiKey?
string
Yagna Api Key
basePath?
string
Yagna base path to Activity REST Api

Inherited from

Defined in

​

activityRequestTimeout

• Optional activityRequestTimeout: number
timeout for sending and creating batch

Inherited from

Defined in

​

activityExecuteTimeout

• Optional activityExecuteTimeout: number
timeout for executing batch

Inherited from

Defined in

​

activityExeBatchResultsFetchInterval

• Optional activityExeBatchResultsFetchInterval: number
interval for fetching batch results while polling

Inherited from

Defined in

​

eventTarget

• Optional eventTarget: EventTarget
Event Bus implements EventTarget

Inherited from

Defined in