Skip to content

Commit 192f172

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

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

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

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -75,13 +75,10 @@ Refer to the [events and parameters](/workflows/build/events-and-parameters/) do
7575

7676
### step
7777

78-
- <code>
79-
step.do(name: string, callback: (): RpcSerializable): Promise&lt;T&gt;
80-
</code>
81-
- <code>
82-
step.do(name: string, config?: WorkflowStepConfig, callback: ():
83-
RpcSerializable): Promise&lt;T&gt;
84-
</code>
78+
{/* prettier-ignore */}
79+
- <code>step.do(name: string, callback: (): RpcSerializable): Promise&lt;T&gt;</code>
80+
- <code>step.do(name: string, config?: WorkflowStepConfig, callback: ():
81+
RpcSerializable): Promise&lt;T&gt;</code>
8582
- `name` - the name of the step.
8683
- `config` (optional) - an optional `WorkflowStepConfig` for configuring [step specific retry behaviour](/workflows/build/sleeping-and-retrying/).
8784
- `callback` - an asynchronous function that optionally returns serializable state for the Workflow to persist.

0 commit comments

Comments
 (0)