SendTaskHeartbeat
Source:
src/AWS/StepFunctions/SendTaskHeartbeat.ts
Runtime binding for states:SendTaskHeartbeat.
Reports liveness for a long-running callback-pattern task
(.waitForTaskToken) or Activity task so its
HeartbeatSeconds timeout does not fire. Bind without arguments for
task tokens issued by service-integration Task states, or pass an
Activity to scope access.
Callback Pattern
Section titled “Callback Pattern”const sendTaskHeartbeat = yield* StepFunctions.SendTaskHeartbeat();
yield* sendTaskHeartbeat({ taskToken: token });