StorePluginBuilder

A class that builds a new StorePlugin For more documentation, see StorePlugin

Builder methods will throw IllegalArgumentException if they are assigned multiple times. Each plugin can only have one block per each type of StorePlugin callback.

Inheritors

Properties

Link copied to clipboard
var name: String?

Functions

Link copied to clipboard
fun onAction(block: suspend PipelineContext<S, I, A>.(action: A) -> A?)
Link copied to clipboard
fun onException(block: suspend PipelineContext<S, I, A>.(e: Exception) -> Exception?)
Link copied to clipboard
fun onIntent(block: suspend PipelineContext<S, I, A>.(intent: I) -> I?)
Link copied to clipboard
fun onStart(block: suspend PipelineContext<S, I, A>.() -> Unit)
Link copied to clipboard
fun onState(block: suspend PipelineContext<S, I, A>.(old: S, new: S) -> S?)
Link copied to clipboard
fun onStop(block: (e: Exception?) -> Unit)
Link copied to clipboard
fun onSubscribe(block: suspend PipelineContext<S, I, A>.(newSubscriberCount: Int) -> Unit)
Link copied to clipboard
fun onUnsubscribe(block: suspend PipelineContext<S, I, A>.(subscriberCount: Int) -> Unit)