Skip to main content

Module env

Module env 

Source

Structs§

ClockKey
Environment
Layered environment with typed dependencies (UDF DependencyValues + scoped overrides).
FakeClock
Test double clock for deterministic effect tests.
LiveRng
Production RNG backed by a splitmix-seeded xorshift64 state.
LiveUuidGen
Production UUID stand-in mixing wall time, pid, and a monotonic counter.
MockHttp
Minimal HTTP mock for env-backed effects.
NowDep
NowKey
RealClock
RngDep
RngKey
SeededRng
SeededUuidGen
Deterministic UUID stand-in for tests — not cryptographically random.
TestNow
UuidKey

Traits§

DepRng
DependencyKey
Register a dependency value under its key type (UDF DependencyKey).
Now
UuidGen

Functions§

batch
Fiber-local batching for coalescing synchronous dispatches within one update tick.
defer_batch

Type Aliases§

EnvFuture