Louis CAD

Results 464 comments of Louis CAD

`NonCancellable` could be tweaked to keep references to its children while they are not completed, and I can work on a PR for that (let me know if I should)....

Wouldn't the issue persist when using `launch`, `async` and a custom scope with `NonCancellable`?

> `Context`, though. > `NonCancellable` cannot be tweaked this way. It is a global object and keeping a list of its children creates a shared global mutable state. We can...

A deprecated error level overload that takes a `Job`, along with a deprecated warning level that takes `NonCancellable` only can do for compile time warnings. It can start with a...

@elizarov, is the following example meaningful to you? ```kotlin someFlow.onEach { // Start of collection of someFlow enables UI component. ui.updateUi(it) // If value is already available, we might benefit...

It wouldn't exactly, as it would avoid dispatch for every coming value as opposed to the first one until the first suspension point. Using `Dispatchers.Main.immediate` might be an alternative, but...

> @joffrey-bion I was thinking it would be convenient for `suspendCancelableCoroutine` to support a kind of "try/finally" option, in case an API needed to be destroyed or torn down after...

Hello, how much money would you need to restore your house?

Here's an updated version for people that want protobuf polymorphic support. In this test case, you can see kotlinx.serialization protobuf with a `sealed interface`, and it should also work with...

Wait, it also works if I use the unedited default `Protobuf` object 🤔 Has this now been resolved? Or is there some other trick that makes it work? Is there...