pub fn getOneUncancelable(q: *@This(), io: Io) QueueClosedError!Elem q: *@This()io: IoClosed2495
2496
2497
2498
2499 pub fn getOneUncancelable(q: *@This(), io: Io) QueueClosedError!Elem {
var buf: [1]Elem = undefined;
assert(try q.getUncancelable(io, &buf, 1) == 1);
return buf[0];
}
Same as
getOne, except does not introduce a cancelation point.For a description of cancelation and cancelation points, see
Future.cancel.