This is an example of documentation generated by ZigDoc, an alternative to Zig's built-in Auto Doc feature. See also examples in other modes/formats. The project being documented here (as the example) is the Zig standard library. Public Function
Equivalent to Io.async, except the task is spawned in this Group instead of becoming associated with a Future.
The return type of function must be coercible to Cancelable!void. function returning error.Canceled does nothing because it is an cancelation propagation boundary.
Once this function is called, there are resources associated with the group. To release those resources, await or cancel must eventually be called.
function is not guaranteed to have been called until await or cancel is called.
Equivalent to
Io.async, except the task is spawned in thisGroupinstead of becoming associated with aFuture.The return type of
functionmust be coercible toCancelable!void.functionreturningerror.Canceleddoes nothing because it is an cancelation propagation boundary.Once this function is called, there are resources associated with the group. To release those resources,
awaitorcancelmust eventually be called.functionis not guaranteed to have been called untilawaitorcancelis called.