MCPcopy Create free account
hub / github.com/cloudwego/netpoll / Wait

Method Wait

poll.go:26–26  ·  view source on GitHub ↗

Wait will poll all registered fds, and schedule processing based on the triggered event. The call will block, so the usage can be like: go wait()

()

Source from the content-addressed store, hash-verified

24 // go wait()
25 //
26 Wait() error
27
28 // Close the poll and shutdown Wait().
29 Close() error

Callers 15

RunMethod · 0.95
TestPollTriggerFunction · 0.65
TestPollModFunction · 0.65
TestPollCloseFunction · 0.65
TestClientWriteAndCloseFunction · 0.65
TestConnectionWriteFunction · 0.65
TestConnectionLargeWriteFunction · 0.65
TestConnectionReadFunction · 0.65
TestConnectionIOReaderFunction · 0.65

Implementers 1

defaultPollpoll_default_linux.go

Calls

no outgoing calls

Tested by 15

TestPollTriggerFunction · 0.52
TestPollModFunction · 0.52
TestPollCloseFunction · 0.52
TestClientWriteAndCloseFunction · 0.52
TestConnectionWriteFunction · 0.52
TestConnectionLargeWriteFunction · 0.52
TestConnectionReadFunction · 0.52
TestConnectionIOReaderFunction · 0.52