Skip to content

Commit e0cbf22

Browse files
Update src/content/docs/workflows/build/workers-api.mdx
Co-authored-by: Pedro Sousa <[email protected]>
1 parent bb2ca9e commit e0cbf22

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/content/docs/workflows/build/workers-api.mdx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,8 @@ Objects that include `Function` or `Symbol` types, and objects with circular ref
9797

9898
:::
9999

100-
- <code>
101-
step.sleep(name: string, duration: WorkflowDuration): Promise&lt;void&gt;
102-
</code>
100+
{/* prettier-ignore */}
101+
- <code>step.sleep(name: string, duration: WorkflowDuration): Promise&lt;void&gt;</code>
103102
- `name` - the name of the step.
104103
- `duration` - the duration to sleep until, in either seconds or as a `WorkflowDuration` compatible string.
105104
- Refer to the [documentation on sleeping and retrying](/workflows/build/sleeping-and-retrying/) to learn more about how Workflows are retried.

0 commit comments

Comments
 (0)