LazyPluginBuilder

A class that creates a LazyPlugin.

This is the same as StorePluginBuilder, but has access to an additional config property that will be provided when the store is created.

Properties

Link copied to clipboard
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)