Good post! It's also good to mention wait
can be used with &
(useful for scripts)
Example:
command_1 & command_2 & command_3 & wait
will make the shell wait until the last command finishes.
Good post! It's also good to mention wait
can be used with &
(useful for scripts)
Example:
command_1 & command_2 & command_3 & wait
will make the shell wait until the last command finishes.
It's a Computation Expression - a core feature of the language since very early, and it's pretty amazing IMO and not only used for async/task