wait For
Wait for a specific task to finish running.
Parameters
task
the task to wait for, must be managed by Threads
Wait for a specific task to finish running.
Parameters
task
the name of the task to wait for, must be managed by Threads
Wait for a specific task to finish running, with the option to interrupt it.
Parameters
task
the name of the task to wait for, must be managed by Threads
interrupt
whether to interrupt the task first then wait
Wait for a specific task to finish running, with the option to interrupt it.
Parameters
task
the task to wait for, must be managed by Threads
interrupt
whether to interrupt the task first then wait