NoneSubscription

A subscription that produces no messages.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open suspend override fun subscribe(callback: (Message) -> Unit): () -> Unit

Starts the subscription and invokes the callback whenever an event occurs.