12345678910111213141516171819202122module juptune.event.loop.core;
struct EventLoopConfig
{
/++ FUNCTIONS ++/
///
EventLoopConfig withFiberAllocatorConfig(FiberAllocatorConfig conf);
///
EventLoopConfig withIoUringConfig(IoUringConfig conf);
///
EventLoopConfig withSigtermHandler(bool value);
/++ VARIABLES ++/
/// Configuration for the EventLoop's fiber allocator.
FiberAllocatorConfig fiberAllocator;
///
bool handleSigterm;
/// Configuration for the EventLoop's io_uring driver.
IoUringConfig ioUring;
}
Configuration for an EventLoop
| Name | Description |
|---|---|
| withFiberAllocatorConfig | |
| withIoUringConfig | |
| withSigtermHandler |
| Name | Description |
|---|---|
| fiberAllocator |
Configuration for the EventLoop's fiber allocator. |
| handleSigterm | |
| ioUring |
Configuration for the EventLoop's io_uring driver. |