EventLoop.create
EventLoop create(EventLoopConfig config = EventLoopConfig.init) @trustedCreate a new event loop with fixed-capacity watcher and event buffers.
Parameters
config | Requested initial capacities for watchers and native events. |
Returns
Initialized event loop instance.
Throws
OutOfMemoryError when buffer preallocation fails.