EventLoop.checkLimit

bool checkLimit(LimitKind kind, size_t current, size_t limit) @safe nothrow

Internal: Check if a resource limit is hit.

This is used by Layer 2 to enforce higher-level limits like connections.