xin

use

Affirms the runtime’s event backend.

Syntaxuse epoll | kqueue;
Contextsevents

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;