Remix.run Logo
AndyKelley 2 hours 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);