Skip to main content

Function: inheritExecution()

inheritExecution(node): ExecutionContext | undefined

Defined in: packages/core/src/core/execution-scope.ts:78

The ambient scope for a child named node.getName(), or undefined.

Returns scope.child({ nodeId: node.getName(), item: n }), where n counts earlier pickups of that name inside the same runInExecutionScope call. Pickups happen when process() is called, so Promise.all([bot.process(a), bot.process(b)]) numbers them in call order on every run.

Parameters​

node​

Pick<Processable, "getName">

Returns​

ExecutionContext | undefined