JS API Reference

Class: TaskRedone

events/events.TaskRedone

Represents the situation in which running the task failed for some reason, but it will be retried

Hierarchy

  • BaseEvent<{ id: string ; agreementId?: string ; provider?: ProviderInfo ; retriesCount: number ; activityId?: string ; reason?: string }>

    TaskRedone

Table of contents

Constructors

Properties

Constructors

constructor

new TaskRedone(data): TaskRedone

Parameters

NameTypeDescription
dataObject-
data.idstring-
data.agreementId?string-
data.provider?ProviderInfo-
data.retriesCountnumber-
data.activityId?stringThe activity that was involved This might be not set when there was an issue with starting the activity on the provider
data.reason?string-

Returns

TaskRedone

Inherited from

BaseEvent.constructor

Defined in

src/events/events.ts:29

Properties

detail

Readonly detail: Object

Type declaration

NameTypeDescription
idstring-
agreementId?string-
provider?ProviderInfo-
retriesCountnumber-
activityId?stringThe activity that was involved This might be not set when there was an issue with starting the activity on the provider
reason?string-

Inherited from

BaseEvent.detail

Defined in

src/events/events.ts:17


name

Readonly name: string

Inherited from

BaseEvent.name

Defined in

src/events/events.ts:18


timestamp

Readonly timestamp: number

Inherited from

BaseEvent.timestamp

Defined in

src/events/events.ts:19