Interface: ActivityMethodOptions
Defined in: src/interfaces.ts:569
Options for configuring activity methods via
Activity Method
decorator.
Example
@ActivityMethod({
name: 'processPayment',
timeout: '30s',
maxRetries: 3
})
async processPayment(amount: number): Promise<void> {
// Implementation
}
Properties
maxRetries?
optionalmaxRetries?:number
Defined in: src/interfaces.ts:572
name?
optionalname?:string
Defined in: src/interfaces.ts:570
timeout?
optionaltimeout?:string|number
Defined in: src/interfaces.ts:571