Skip to main content

Wait

ct.wait

#

Instructs Covalent that an electron should wait for some other tasks to complete before it is dispatched

Parameters

child – the dependent electron

parents – Electron(s) which must complete before waiting_electron starts

Returns

waiting_electron

Useful when execution of an electron relies on a side-effect from another one.