cats-effect icon indicating copy to clipboard operation
cats-effect copied to clipboard

The pure asynchronous runtime for Scala

Results 321 cats-effect issues
Sort by recently updated
recently updated
newest added
trafficstars

Automated changes by the [update-flake-lock](https://github.com/DeterminateSystems/update-flake-lock) GitHub Action. ``` Flake lock file updates: • Updated input 'typelevel-nix': 'github:typelevel/typelevel-nix/562496d5210995535d09198f4b611a943808c393?narHash=sha256-UtRNP78v5Z0dnG65qmXUmkzaSVYtyFuJ4je4e86KpnE%3D' (2025-04-21) → 'github:typelevel/typelevel-nix/e2a19a65a9dd14b17120856f350c51fd8652cdde?narHash=sha256-jlnFJGbksMcOYrTcyYBqmc53sHKxPa9Dq11ahze%2BQf8%3D' (2025-05-19) • Updated input 'typelevel-nix/nixpkgs': 'github:nixos/nixpkgs/ebe4301cbd8f81c4f8d3244b3632338bbeb6d49c?narHash=sha256-5RJTdUHDmj12Qsv7XOhuospjAjATNiTMElplWnJE9Hs%3D' (2025-04-17) → 'github:nixos/nixpkgs/3fcbdcfc707e0aa42c541b7743e05820472bdaec?narHash=sha256-JBXbjJ0t6T6BbVc9iPVquQI9XSXCGQJD8c8SgnUquus%3D' (2025-05-17)...

:robot:

Im not sure this is the right and idiomatic way to implement this, but this greatly helps in real app wiring when you have to create instance for some effect...

**Description:** This PR fixes a thread leak in the Work Stealing Thread Pool (Issue #4382), previously caused by FIFO-based reuse of cached blocker threads (introduced in #4295). This FIFO behavior...

I would like to be able to initialize `Random` in a different effect, as it's in `Ref` and `Deffered` (`def in[F, G, A]`). Motivation: - I can't use transformer implicits,...

## About this PR 📦 Updates [org.scalameta:munit](https://github.com/scalameta/munit) from `1.1.0` to `1.1.1` 📜 [GitHub Release Notes](https://github.com/scalameta/munit/releases/tag/v1.1.1) - [Version Diff](https://github.com/scalameta/munit/compare/v1.1.0...v1.1.1) ## Usage ✅ **Please merge!** I'll automatically update this PR to resolve...

dependencies
:robot:

## About this PR 📦 Updates * [org.scala-lang:scala3-library](https://github.com/scala/scala3) * [org.scala-lang:scala3-library_sjs1](https://github.com/scala/scala3) from `3.3.5` to `3.3.6` 📜 [GitHub Release Notes](https://github.com/scala/scala3/releases/tag/3.3.6) - [Version Diff](https://github.com/scala/scala3/compare/3.3.5...3.3.6) ## Usage ✅ **Please merge!** I'll automatically update this...

dependencies
:robot:

It'd be very useful to have the thread name in the `IO.debug` extension method, which is implemented as follows in v3.7-4972921. Something like `IO.println(s"[${Thread.currentThread().getName}] ${prefix}: Succeeded: ${S.show(a)}")`. ``` def debug[B...

cats-effect 2 has some great documentation around the `IO` datatype at https://typelevel.org/cats-effect/docs/2.x/datatypes/io. These docs do not appear to exist for cats-effect version 3. It would be great to add them....

Using Cats Effect 3.5.7: ```scala //> using scala 3.7.0 //> using dep org.typelevel::cats-effect::3.6.1 import cats.Parallel import cats.syntax.all.* import cats.effect.{Async, IO, Resource, ResourceApp} import cats.effect.syntax.all.* object Fail extends ResourceApp.Forever: override def...

After taking a few initial passes through the various platform `IOApp` implementations, I've come up with an approach I am going to take. I plan on adding two layers of...