eve.aio.io

Async file I/O primitives.

This module re-exports the platform-specific file I/O implementation. See eve.aio.linux.io, eve.aio.posix.io, and eve.aio.windows.io for the actual implementations.

File I/O uses different strategies depending on the platform:

  • On Linux 5.1+: Uses io_uring for true kernel-level async
  • On Linux < 5.1: Falls back to thread pool
  • On macOS/BSD: Uses thread pool with pread/pwrite
  • On Windows: Uses thread pool with ReadFile/WriteFile

The io_uring path provides significant performance benefits by avoiding thread context switches and reducing syscall overhead.

No exported symbols.