diff --git a/core/src/commonMain/kotlin/pro/respawn/flowmvi/plugins/JobManagerPlugin.kt b/core/src/commonMain/kotlin/pro/respawn/flowmvi/plugins/JobManagerPlugin.kt index bb077e11..fbd4bf33 100644 --- a/core/src/commonMain/kotlin/pro/respawn/flowmvi/plugins/JobManagerPlugin.kt +++ b/core/src/commonMain/kotlin/pro/respawn/flowmvi/plugins/JobManagerPlugin.kt @@ -187,8 +187,8 @@ public fun jobManagerPlugi * @return the [JobManager] instance that was created for this plugin. */ @FlowMVIDSL -public fun StoreBuilder.manageJobs( +public fun StoreBuilder.manageJobs( name: String = JobManager.Name -): JobManager = JobManager().also { +): JobManager = JobManager().also { install(jobManagerPlugin(it, name)) }