MCPcopy Index your code
hub / github.com/coder/coder / newAsyncCloser

Function newAsyncCloser

cli/ssh_internal_test.go:382–390  ·  view source on GitHub ↗
(ctx context.Context, t *testing.T)

Source from the content-addressed store, hash-verified

380}
381
382func newAsyncCloser(ctx context.Context, t *testing.T) *asyncCloser {
383 return &asyncCloser{
384 t: t,
385 ctx: ctx,
386 isUnblocked: make(chan struct{}),
387 started: make(chan struct{}),
388 done: make(chan struct{}),
389 }
390}
391
392func Test_getWorkspaceAgent(t *testing.T) {
393 t.Parallel()

Callers 2

TestCloserStack_TimeoutFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected