- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestMultiPubSubMask (0.09 sec)
-
internal/pubsub/pubsub_test.go
ps.Publish(val) msg1 := <-ch1 msg2 := <-ch2 if msg1 != val && msg2 != val { t.Fatalf("expected both subscribers to have%s , found %s and %s", val, msg1, msg2) } } func TestMultiPubSubMask(t *testing.T) { ps := New[Maskable, Maskable](3) ch1 := make(chan Maskable, 1) ch2 := make(chan Maskable, 1) ch3 := make(chan Maskable, 1) doneCh := make(chan struct{}) defer close(doneCh)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 14 17:11:51 UTC 2024 - 5.8K bytes - Viewed (0)