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

Function TestNativeInOutChannels

native_channel_test.go:24–30  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

22}
23
24func TestNativeInOutChannels(t *testing.T) {
25 ch1 := make(chan interface{})
26 ch2 := make(chan interface{})
27
28 Pipe(NativeOutChannel(ch1), NativeInChannel(ch2))
29 NativeInChannel(ch1).Close()
30}
31
32func TestDeadChannel(t *testing.T) {
33 ch := NewDeadChannel()

Callers

nothing calls this directly

Calls 4

PipeFunction · 0.85
NativeOutChannelTypeAlias · 0.85
NativeInChannelTypeAlias · 0.85
CloseMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…