Skip to main content

Module directory

Module directory 

Source
Expand description

Current-room indexes and lifecycle leases.

RoomDirectory indexes one current room by UUID, issuer and instance ID. Each entry shares a RoomLifecycle gate. Accepted leases defer empty-room removal until the final mutation finishes. Reservation expiry removes only idle entries claimed by that gate.

StructsΒ§

RoomDirectory πŸ”’
RoomDirectoryEntry πŸ”’
directory row for one current room instance
RoomLifecycle πŸ”’
cloneable admission gate for the current room stored in one directory row
RoomLifecycleLease πŸ”’
cancellation-safe permit for work accepted against a directory entry
RoomLifecycleState πŸ”’
mutable state behind one directory entry’s lifecycle lease gate

ConstantsΒ§

UNKNOWN_REMOTE_ADDRESS πŸ”’

FunctionsΒ§

rfc3339_now πŸ”’