top | item 46126546 (no title) breatheoften | 3 months ago Is there any way to implement structured concurrency on top of the std.Io primitive? discuss order hn newest AndyKelley|3 months ago var group: Io.Group = .init; defer group.cancel(io); If you see this pattern, you are doing structured concurrency.Same thing with: var future = io.async(foo, .{}); defer future.cancel(io);
AndyKelley|3 months ago var group: Io.Group = .init; defer group.cancel(io); If you see this pattern, you are doing structured concurrency.Same thing with: var future = io.async(foo, .{}); defer future.cancel(io);
AndyKelley|3 months ago
Same thing with: