Skip to main content

MapStmt

@webda/workflow


Interface: MapStmt

Defined in: packages/workflow/src/graph.ts:258

Run a body for each item concurrently

Properties​

assign?​

optional assign?: string

Defined in: packages/workflow/src/graph.ts:286

Variable receiving the array of item return values


body​

body: Stmt[]

Defined in: packages/workflow/src/graph.ts:278

Body


concurrency?​

optional concurrency?: number

Defined in: packages/workflow/src/graph.ts:282

Maximum number of items running at once


id​

id: string

Defined in: packages/workflow/src/graph.ts:266

Unique identifier


item​

item: string

Defined in: packages/workflow/src/graph.ts:274

Item


items​

items: Expr

Defined in: packages/workflow/src/graph.ts:270

Items


kind​

kind: "map"

Defined in: packages/workflow/src/graph.ts:262

Kind