Timeout
Concurrencyflow.timeoutRuns the body with a time budget. If the body doesn't finish within 'timeoutMs', it is cancelled and flow takes 'onTimeout'; otherwise flow resumes at 'completed'.Bounds a sub-flow with a timeout + cancellation, with an on-timeout branch.Outputs
| body | Exec | exec | None |
| onTimeout | Exec | exec | None |
| completed | Exec | exec | None |
Parameters
| timeoutMs | System.Int32 | no | 5000 | None |
Lowers to C#
using var cts = CreateLinkedTokenSource(ctx.Cancellation); cts.CancelAfter(timeoutMs); try { /* body */ } catch (OperationCanceledException) { /* onTimeout */ }