SubscriptionPreviewClient
class SubscriptionPreviewClient(previewData: Map<UniqueId, SubscriptionState<*>>) : SubscriptionClient
Usage:
val subscriptionClient = SubscriptionPreviewClient {
on(MySubscriptionId1) { SubscriptionState.success("data") }
on(MySubscriptionId2) { .. }
}
Content copied to clipboard
Types
Link copied to clipboard
class Builder
Builder for SubscriptionPreviewClient.