eve.rt

EVE Runtime Layer (Layer 3)

This package provides higher-level concurrency primitives built on top of the EVE event loop, including fibers, futures/promises, channels for cross-thread communication, and timers.

Important: Layer 3 is explicitly opt-in and not included in the default import eve;. This is intentional because Layer 3 includes operations that can block threads (e.g., Channel.blockingSend, Channel.blockingReceive).

Never call blocking Layer 3 operations from an event-loop thread.

For event-loop-safe channel usage, use the non-blocking variants:

  • trySend — returns immediately with WOULD_BLOCK if full
  • tryReceive — returns immediately with WOULD_BLOCK if empty

No exported symbols.