Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestSubscribe (0.19 sec)

  1. internal/pubsub/pubsub_test.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package pubsub
    
    import (
    	"fmt"
    	"testing"
    	"time"
    )
    
    func TestSubscribe(t *testing.T) {
    	ps := New[Maskable, Mask](2)
    	ch1 := make(chan Maskable, 1)
    	ch2 := make(chan Maskable, 1)
    	doneCh := make(chan struct{})
    	defer close(doneCh)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 5.8K bytes
    - Viewed (0)
Back to top