EventLoop.create

EventLoop create(EventLoopConfig config = EventLoopConfig.init) @trusted

Create a new event loop with fixed-capacity watcher and event buffers.

Parameters

configRequested initial capacities for watchers and native events.

Returns

Initialized event loop instance.

Throws

OutOfMemoryError when buffer preallocation fails.