StreamCoordinator.allocStream

Allocate a fresh stream ordinal. Combined with a per-stream monotonic event sequence, this yields globally-unique SSE event ids across every stream served by this mount, as the Resumability/Redelivery requirement demands ("If present, the ID MUST be globally unique ... within ... the session").

class StreamCoordinator
@safe
long
allocStream
()