Interface: ActivityMockInfo
What a mock receives besides the activity's args.
Properties
activityId
activityId:
string
a<n> for an activity, l<n> for a local activity.
attempt
attempt:
number
connection?
optionalconnection?:string
heartbeat?
optionalheartbeat?: (details?) =>void
Record heartbeat details for the next attempt (activities only).
Parameters
details?
unknown
Returns
void
heartbeatDetails?
optionalheartbeatDetails?:Json
Details the previous attempt recorded with heartbeat (11 §2.4); activities only.
local?
optionallocal?:boolean
True when the call is a local activity (ctx.localActivity).
nodeType
nodeType:
string
operation
operation:
string
runId
runId:
string