Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
heartbeat
1 parent 2fbcbe7 commit 981d3f1Copy full SHA for 981d3f1
packages/activity/src/index.ts
@@ -453,7 +453,7 @@ export function sleep(ms: Duration): Promise<void> {
453
* attribute set to a {@link TimeoutFailure}, which has the last value of `details` available at
454
* {@link TimeoutFailure.lastHeartbeatDetails}.
455
*
456
- * This is a shortcut for `Context.current().heatbeat(ms)` (see {@link Context.heartbeat}).
+ * This is a shortcut for `Context.current().heartbeat(details)` (see {@link Context.heartbeat}).
457
*/
458
export function heartbeat(details?: unknown): void {
459
Context.current().heartbeat(details);
0 commit comments