2 ms·
one of the (main) benefits of coroutines is the luxury of offloading thread management and semantics to a lower layer so that we can deal in functions/methods (
by yawboakye 3y ago
one of the (main) benefits of coroutines is the luxury of offloading thread management and semantics to a lower layer so that we can deal in functions/methods (aka units of execution) as units of concurrency. obviously that comes at a cost, like any general purpose convenience.