Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/encodeous/nylon
/ Wait
Method
Wait
polyamide/device/device.go:421–423 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
419
}
420
421
func
(device *Device) Wait()
chan
struct
{} {
422
return
device.closed
423
}
424
425
func
(device *Device) SendKeepalivesToPeersWithCurrentKeypair() {
426
if
!device.isUp() {
Callers
15
main
Function · 0.95
main
Function · 0.95
TestFormatting
Function · 0.45
Close
Method · 0.45
newOutboundQueue
Function · 0.45
newInboundQueue
Function · 0.45
newHandshakeQueue
Function · 0.45
TestUpDown
Function · 0.45
TestConcurrencySafety
Function · 0.45
BenchmarkThroughput
Function · 0.45
NewDevice
Function · 0.45
Close
Method · 0.45
Implementers
4
NativeTun
polyamide/tun/tun_linux.go
netTun
polyamide/tun/netstack/tun.go
chTun
polyamide/tun/tuntest/tuntest.go
fakeTUNDeviceSized
polyamide/device/device_test.go
Calls
no outgoing calls
Tested by
10
TestFormatting
Function · 0.36
TestUpDown
Function · 0.36
TestConcurrencySafety
Function · 0.36
BenchmarkThroughput
Function · 0.36
TestWaitPool
Function · 0.36
BenchmarkWaitPool
Function · 0.36
BenchmarkWaitPoolEmpty
Function · 0.36
BenchmarkSyncPool
Function · 0.36
TestMessageReadMode
Function · 0.36
TestListenConnectRace
Function · 0.36