We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 34efbd4 commit c582490Copy full SHA for c582490
pool_test.go
@@ -47,7 +47,7 @@ func TestPool_FallbackToSyncMode(t *testing.T) {
47
defer cancel()
48
49
dispatcher := events.SyncDispatcher{}
50
- p := newPool(WithTimeout(time.Second), WithConcurrency(1), WithShutdownEvents())(&dispatcher)
+ p := NewPool(WithTimeout(time.Second), WithConcurrency(1), WithShutdownEvents())(&dispatcher)
51
p.Run(ctx)
52
53
var executed = make(chan struct{})
0 commit comments