Algostream_infrastructure_event_bus.SubscriptionFilter combinators and subscription handles.
module Filter : sig ... endCompose a predicate over Event.t. Filters compile to closures evaluated once per dispatch, so they stay zero-allocation in the common case.
val create :
id:subscription_id ->
filter:Filter.t ->
handler:(Event_types.Event.t -> unit) ->
tmodule Id_allocator : sig ... endAllocator for subscription IDs. Thread-safe.
val id_to_int : subscription_id -> intReveal the integer behind a subscription_id, for logging only.