FakeSubscriptionKey

Creates a fake subscription key that returns the result of the given mock function.

Constructors

Link copied to clipboard
constructor(target: SubscriptionKey<T>, mock: FakeSubscriptionSubscribe<T>)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val id: SubscriptionId<T>
Link copied to clipboard
open override val subscribe: SubscriptionReceiver.() -> Flow<T>

Functions

Link copied to clipboard
Link copied to clipboard
open override fun onRecoverData(): SubscriptionRecoverData<T>?