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

Function SelectSend

lfchan.go:122–134  ·  view source on GitHub ↗

SelectSend sends v to the first available channel, if block is true, it blocks until a channel a accepts the value. returns false if all channels were full and block is false.

(block bool, v interface{}, chans ...Sender)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

TestSelectFunction · 0.70

Calls 1

SendMethod · 0.65

Tested by 1

TestSelectFunction · 0.56