manageJobs
fun <K : Any, A : MVIAction, I : MVIIntent, S : MVIState> StoreBuilder<S, I, A>.manageJobs(jobs: JobManager<K> = JobManager(), name: String = JobManager.Name): JobManager<K>
Create and install a new plugin that uses JobManager to manage running jobs. The plugin will cancel all running jobs if the store is closed.
By default, job managers can't be reused without overriding name
This version creates a basic job manager of type String. If you want to assign other types to your keys, please use jobManagerPlugin builder function.
Return
the JobManager instance that was created for this plugin.