Skip to content

WhenDone

Name Mandatory Description Default Type
⬅️ Input Any input type is accepted. The input of this shard will be given as input for the specified Wire Any
Output ➡️ Returns the specific copy of the Wire that was scheduled. Any
Wire No The Wire to schedule and run asynchronously None NoneWire[Shard]

Schedules the specified Wire and runs it asynchronously. The current Wire will continue its execution independently of the specified Wire. Unlike Detach, a copy of the specified Wire is scheduled every time the shard is called.