cats-effect
cats-effect copied to clipboard
The pure asynchronous runtime for Scala
Updates [org.scalameta:scalafmt-core](https://github.com/scalameta/scalafmt) from 3.5.8 to 3.5.9. [GitHub Release Notes](https://github.com/scalameta/scalafmt/releases/tag/v3.5.9) - [Version Diff](https://github.com/scalameta/scalafmt/compare/v3.5.8...v3.5.9) I'll automatically update this PR to resolve conflicts as long as you don't change it yourself. If you'd...
The possibility of an uncancelable fiber being canceled before it starts executing is, I think, a surprising footgun for many people. If nothing else, adding this `forceStart` method will help...
Needs documentation and stuff. This adds support for configurable supervised restarts, similar to how supervisor nets work in Erlang. The idea is basically that you can configure a supervision predicate...
Fix #3118 and #3119
This implements #2639 This only adds methods, but it seems it may break backwards-compatibility according to that discussion. Is that because it adds methods to an interface?
Page: https://typelevel.org/cats-effect/docs/std/deferred#only-once Parts: > Two processes will try to complete at the same time but only one will succeed, completing the deferred primitive exactly once. **The loser one will raise...
Page: https://typelevel.org/cats-effect/docs/thread-model#fibers Documentation parts: > It is important to note that this is [cooperative multi-tasking](https://en.wikipedia.org/wiki/Cooperative_multitasking) (as opposed to pre-emptive) so it is the responsibility of a fiber to yield control...
Run a background fiber that detects CPU starvation by looking for clock drift when sleeping. Writes a warning to stderr if starvation is detected It can be configured via the...
It would be really interesting to see what we can do on this front, now that Scala Native is on 2.12. We would need Cats to publish for it, though....