EventSubscription
data class EventSubscription<EVENT, CHECKPOINT : Checkpoint>(val batches: ReceiveChannel<List<SubscriptionEvent<EVENT, CHECKPOINT>>>, val status: StateFlow<EventSubscriptionStatus>, awaitTermination: suspend () -> Unit = {})(source)
Constructors
Link copied to clipboard
constructor(batches: ReceiveChannel<List<SubscriptionEvent<EVENT, CHECKPOINT>>>, status: StateFlow<EventSubscriptionStatus>, awaitTermination: suspend () -> Unit = {})