Skip to main content

Interface: LocalActivityOptions<In>

Options of ctx.localActivity (11 §2.12).

Type Parameters​

In​

In

Properties​

args​

args: In


connection?​

optional connection?: string

Connection name, resolved by the worker that runs the task.


nodeVersion?​

optional nodeVersion?: string

Overrides the node version the descriptor carries.


operation?​

optional operation?: string

Overrides the operation name the descriptor carries.


retry?​

optional retry?: Partial<RetryPolicy>

Default: 1 s, x2, at most 100 s, unlimited attempts, bounded by the task's 30 s budget.


startToCloseTimeout?​

optional startToCloseTimeout?: Duration

At most 30 s (the default).


summary?​

optional summary?: string

Label in the History tab (at most 200 characters).