use
Affirms the runtime’s event backend.
| Syntax | use epoll | kqueue; |
|---|---|
| Contexts | events |
Behavior
Only the backend used on the current platform is accepted: epoll on Linux or kqueue on supported BSD and Apple systems.
Example
use epoll;useAffirms the runtime’s event backend.
| Syntax | use epoll | kqueue; |
|---|---|
| Contexts | events |
Only the backend used on the current platform is accepted: epoll on Linux or kqueue on supported BSD and Apple systems.
use epoll;