Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/coder/coder
/ Notify
Method
Notify
cli/clitest/signal.go:45–53 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
43
}
44
45
func
(f *FakeSignalNotifier) Notify() {
46
f.Lock()
47
defer
f.Unlock()
48
if
f.cancel == nil {
49
f.t.Error(
"notified before started"
)
50
return
51
}
52
f.cancel()
53
}
54
55
func
(f *FakeSignalNotifier) AssertStopped() {
56
f.Lock()
Callers
12
TestSSH
Function · 0.95
start
Method · 0.45
notifyIfNewer
Method · 0.45
main
Function · 0.45
portForward
Method · 0.45
listenWindowSize
Function · 0.45
notifyCondition
Function · 0.45
DumpHandler
Function · 0.45
logSignalNotifyContext
Function · 0.45
Prompt
Function · 0.45
ProvisionerJob
Function · 0.45
installSignalHandler
Function · 0.45
Calls
4
Lock
Method · 0.45
Unlock
Method · 0.45
Error
Method · 0.45
cancel
Method · 0.45
Tested by
1
TestSSH
Function · 0.76