fn getOrNull(self: *SelfChannel) ?T

Get an item from the channel. If the buffer is empty and there are no puts waiting, this returns null.

Parameters

self: *SelfChannel,