Skip to content

Commit b8fe8e8

Browse files
Update src/content/docs/workflows/build/workers-api.mdx
Co-authored-by: Matt Silverlock <[email protected]>
1 parent 733a897 commit b8fe8e8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,8 @@ export default {
270270

271271
Create (trigger) a batch of new instance of the given Workflow, up to 100 instances at a time.
272272

273+
This is useful when you are scheduling multiple instances at once. A call to `createBatch` is treated the same as a call to `create` (for a single instance) and allows you to work within the [instance creation limit](/workflows/platform/limits/).
274+
273275
* <code>createBatch(batch: WorkflowInstanceCreateOptions[]): Promise&lt;WorkflowInstance[]&gt;</code>
274276

275277
* `batch` - list of Options to pass when creating an instance, including a user-provided ID and payload parameters.

0 commit comments

Comments
 (0)