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
Calls function with args, such that the return value of the function is not guaranteed to be available until await is called.
functionmay be called immediately, before async returns. This has weaker guarantees than concurrent, making more portable and reusable.
When this function returns, it is guaranteed that function has already been called and completed, or it has successfully been assigned a unit of concurrency.
Calls
functionwithargs, such that the return value of the function is not guaranteed to be available untilawaitis called.functionmay be called immediately, beforeasyncreturns. This has weaker guarantees thanconcurrent, making more portable and reusable.When this function returns, it is guaranteed that
functionhas already been called and completed, or it has successfully been assigned a unit of concurrency.See also:
Group