Similar to await but also has waiting timeout. Calling task will be resumed either if awaited task finished or timeout is hit, whichever happens first.
If task is already scheduled, it will not be re-scheduled again but awaiting will still occur.
task to await
timeout duration
'true' if resumed via timeout, 'false' otherwise
See Implementation
Similar to await but also has waiting timeout. Calling task will be resumed either if awaited task finished or timeout is hit, whichever happens first.
If task is already scheduled, it will not be re-scheduled again but awaiting will still occur.