Skip to content

Commit bb2ca9e

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

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
@@ -104,9 +104,8 @@ Objects that include `Function` or `Symbol` types, and objects with circular ref
104104
- `duration` - the duration to sleep until, in either seconds or as a `WorkflowDuration` compatible string.
105105
- Refer to the [documentation on sleeping and retrying](/workflows/build/sleeping-and-retrying/) to learn more about how Workflows are retried.
106106

107-
- <code>
108-
step.sleepUntil(name: string, timestamp: Date | number): Promise&lt;void&gt;
109-
</code>
107+
{/* prettier-ignore */}
108+
- <code>step.sleepUntil(name: string, timestamp: Date | number): Promise&lt;void&gt;</code>
110109
- `name` - the name of the step.
111110
- `timestamp` - a JavaScript `Date` object or seconds from the Unix epoch to sleep the Workflow instance until.
112111

0 commit comments

Comments
 (0)