cats-effect
cats-effect copied to clipboard
The pure asynchronous runtime for Scala
I'm actually not certain how we missed this one. It's a nifty observability feature and no one knows about it.
``` [error] x warn on cpu starvation Warning: error] doesn't contain '[WARNING] Your app's responsiveness' (IOAppSpec.scala:211) ``` I think we just cut off stderr a bit too early.
At this point, I am sure this will not be merged because of some limitations of the change, but I thought it was worth having it here for future reference....
As of Cats Effect 3.5.0-RC5, this is the memory layout of `IOFiber`: ``` cats.effect.IOFiber object internals: OFF SZ TYPE DESCRIPTION VALUE 0 8 (object header: mark) N/A 8 4 (object...
Motivated by a recent discussion on **Discord**. Since this method can have many variations and is not very common, I guess a recipe is the best place to add it.
Right now, `Concurrent[F[_]] = GenConcurrent[F, Throwable]`. This matches our general opinion of the most common use-case, but there's a second extremely common scenario that we currently don't offer the same...
Resolves #3535
Although the test runtime and `executeEmbed` cannot be used to exercise race conditions, it is still very useful for being able to exercise non-deterministic scheduling of fibers. In fact we...
Spinning this out of a [Discord observation](https://discord.com/channels/632277896739946517/839263556754472990/1079945167651471461) so that it doesn't get lost. It relates to the new `cancelable` combinator added in https://github.com/typelevel/cats-effect/pull/3460. This issue is important, because it has...