MCPcopy Create free account
hub / github.com/eapache/channels / Close

Method Close

native_channel.go:62–64  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

60}
61
62func (ch NativeChannel) Close() {
63 close(ch)
64}
65
66// DeadChannel is a placeholder implementation of the Channel interface with no buffer
67// that is never ready for reading or writing. Closing a dead channel is a no-op.

Callers 3

testTeeFunction · 0.95
testDistributeFunction · 0.95
TestUnwrapFunction · 0.95

Calls

no outgoing calls

Tested by 3

testTeeFunction · 0.76
testDistributeFunction · 0.76
TestUnwrapFunction · 0.76