Benoît
02/22/2022, 9:05 AMintent function using runBlocking? What's the point of using a CoroutineScope when creating the ContainerHost like so scope.container(...)?Mikolaj Leszczynski
02/22/2022, 10:32 AMrunBlocking is there just to deliver the intent to the container channel’s buffer. We could replace it with something else really.
The container is scoped according to the CoroutineScope - so if the CoroutineScope is cancelled, all in progress intents are cancelled as well.Mikolaj Leszczynski
02/22/2022, 10:33 AMMikolaj Leszczynski
02/22/2022, 10:34 AMMikolaj Leszczynski
02/22/2022, 10:34 AMBenoît
02/22/2022, 10:37 AMscope.container() and the one passed in Container.Settings(intentDispatcher = ...) ?Mikolaj Leszczynski
02/22/2022, 10:37 AMDispatcher != Scope 🙂Mikolaj Leszczynski
02/22/2022, 10:38 AMMikolaj Leszczynski
02/22/2022, 10:38 AMMikolaj Leszczynski
02/22/2022, 10:38 AMBenoît
02/22/2022, 10:38 AMBenoît
02/22/2022, 10:39 AMMikolaj Leszczynski
02/22/2022, 10:39 AMprivate val scope = parentScope + settings.intentDispatcherBenoît
02/22/2022, 10:40 AMBenoît
02/22/2022, 10:40 AMMikolaj Leszczynski
02/22/2022, 10:40 AM