MCPcopy Create free account
hub / github.com/OneOfOne/lfchan / SelectRecv

Function SelectRecv

lfchan.go:138–150  ·  view source on GitHub ↗

SelectRecv returns the first available value from chans, if block is true, it blocks until a value is available. returns nil, false if all channels were empty and block is false.

(block bool, chans ...Receiver)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

TestSelectFunction · 0.70

Calls 1

RecvMethod · 0.65

Tested by 1

TestSelectFunction · 0.56