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

Method Close

channels.go:55–55  ·  view source on GitHub ↗

The writeable end of the channel.

()

Source from the content-addressed store, hash-verified

53type SimpleInChannel interface {
54 In() chan<- interface{} // The writeable end of the channel.
55 Close() // Closes the channel. It is an error to write to In() after calling Close().
56}
57
58// InChannel is an interface representing a writeable channel with a buffer.

Callers 15

pipeFunction · 0.65
multiplexFunction · 0.65
teeFunction · 0.65
distributeFunction · 0.65
UnwrapFunction · 0.65
TestOverflowingChannelFunction · 0.65
TestRingChannelFunction · 0.65
testBatchesFunction · 0.65
TestSharedBufferMultipleFunction · 0.65
ExampleSharedBufferFunction · 0.65

Implementers 8

InfiniteChannelinfinite_channel.go
OverflowingChanneloverflowing_channel.go
DeadChannelnative_channel.go
sharedBufferChannelshared_buffer.go
RingChannelring_channel.go
ResizableChannelresizable_channel.go
BatchingChannelbatching_channel.go
BlackHoleblack_hole.go

Calls

no outgoing calls

Tested by 11

TestOverflowingChannelFunction · 0.52
TestRingChannelFunction · 0.52
testBatchesFunction · 0.52
TestSharedBufferMultipleFunction · 0.52
ExampleSharedBufferFunction · 0.52
TestNativeInOutChannelsFunction · 0.52
testChannelFunction · 0.52
testChannelPairFunction · 0.52
testMultiplexFunction · 0.52