Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/coder/coder
/ unblock
Method
unblock
cli/ssh_internal_test.go:378–380 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
376
}
377
378
func
(c *asyncCloser) unblock() {
379
c.unblockOnce.Do(
func
() { close(c.isUnblocked) })
380
}
381
382
func
newAsyncCloser(ctx context.Context, t *testing.T) *asyncCloser {
383
return
&asyncCloser{
Callers
2
TestCloserStack_CloseAfterContext
Function · 0.80
TestCloserStack_Timeout
Function · 0.80
Calls
1
Do
Method · 0.65
Tested by
no test coverage detected