Both executeAction and executeIntent were suspendi...
# mvikotlin
a
Both executeAction and executeIntent were suspending functions a while ago, but it was an explicit decision to make them normal. Looks like I forgot to update KDocs as well, thanks for pointing that. There is
scope
properly available which you can use to launch coroutines when needed. You can check samples: https://github.com/arkivanov/MVIKotlin/blob/master/sample/todo-coroutines/src/commonMain/kotlin/com/arkivanov/mvikotlin/sample/todo/coroutines/store/TodoListStoreFactory.kt The reason for this change is because now you are able to process intents and actions synchronously in the same call stack as they were dispatched.
👍 1
k
could you add scope.launch to the kdocs as well...wasn't obvious initially, but it is now 🙂
a
Well, it is in the docs, but not in KDocs. Will update. Thanks!
👍 1