Skip to main content

Interface: IDoBackoff

coresdk.activity_result.IDoBackoff

Properties of a DoBackoff.

Implemented by

Properties

attempt

Optional attempt: null | number

The attempt number that lang should provide when scheduling the retry. If the LA failed on attempt 4 and we told lang to back off with a timer, this number will be 5.


backoffDuration

Optional backoffDuration: null | IDuration

DoBackoff backoffDuration


originalScheduleTime

Optional originalScheduleTime: null | ITimestamp

The time the first attempt of this local activity was scheduled. Must be passed with attempt to the retry LA.