Reset

class Reset<T>(key: SubscriptionKey<T>, revision: String) : SubscriptionCommand<T>

Resets the state and re-executes the subscription process.

Parameters

key

Instance of a class implementing SubscriptionKey.

revision

The revision of the subscription state.

Constructors

Link copied to clipboard
constructor(key: SubscriptionKey<T>, revision: String)

Functions

Link copied to clipboard
open suspend override fun handle(ctx: SubscriptionCommand.Context<T>)

Handles the subscription.