Skip to content

Commit

Permalink
revert mandatory type arg for managed jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
Nek-12 committed Dec 1, 2023
1 parent c5a562b commit 2e44af1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -187,8 +187,8 @@ public fun <K : Any, S : MVIState, I : MVIIntent, A : MVIAction> jobManagerPlugi
* @return the [JobManager] instance that was created for this plugin.
*/
@FlowMVIDSL
public fun <A : MVIAction, I : MVIIntent, S : MVIState, T : Any> StoreBuilder<S, I, A>.manageJobs(
public fun <A : MVIAction, I : MVIIntent, S : MVIState> StoreBuilder<S, I, A>.manageJobs(
name: String = JobManager.Name
): JobManager<T> = JobManager<T>().also {
): JobManager<String> = JobManager<String>().also {
install(jobManagerPlugin(it, name))
}

0 comments on commit 2e44af1

Please sign in to comment.