jobManagerPlugin

fun <K : Any, S : MVIState, I : MVIIntent, A : MVIAction> jobManagerPlugin(manager: JobManager<K>, name: String? = JobManager.Name): StorePlugin<S, I, A>

Create a new plugin that uses manager to manage jobs. This will cancel and remove all jobs when the parent pro.respawn.flowmvi.api.Store is closed.

By default, job managers can't be reused without overriding name.