matchesSubscription(event: MatchableEvent, definition: SubscribeParams): boolean| Name | Type | Description |
|---|---|---|
event* | MatchableEvent | Event being checked for delivery. |
definition* | SubscribeParams | Subscription filter definition to evaluate against.
The optional |
Returns whether an event should be delivered for a subscription definition.
When the definition carries a since replay cursor, events at or before
that sequence number are excluded — letting the same predicate drive both
live fan-out and buffered replay over a StreamChannel.