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()
()
| 24 | // go wait() |
| 25 | // |
| 26 | Wait() error |
| 27 | |
| 28 | // Close the poll and shutdown Wait(). |
| 29 | Close() error |
no outgoing calls