cats-effect-cps
cats-effect-cps copied to clipboard
An incubator project for async/await syntax support for Cats Effect
It would be great, if there were support for using `Resource` with `cats-effect-cps`. Could look something like this ```scala import cats.effect.cps._ async[IO] { val results1 = talkToServer("request1", None).await IO.sleep(100.millis).await //...
```scala val resource1 = async[Resource[IO, *]] { r1.await } val resource2 = async[Resource[IO, *]] { r2.await } val http4sServerResource = for { r1
Adds `parallel` version of the `async` method, which translates the block into `F.delay`+ `parMapN` calls. The macro attempts to protect against ill-use by preventing any definition in the `parallel` region...
I think the following won't compile: ```scala val a = async(io.await) val b = async(io.await) ``` Since we use the same type name for everything. Macros may be doing some...
## About this PR 📦 Updates [org.scalameta:scalafmt-core](https://github.com/scalameta/scalafmt) from `3.8.0` to `3.8.3` 📜 [GitHub Release Notes](https://github.com/scalameta/scalafmt/releases/tag/v3.8.3) - [Version Diff](https://github.com/scalameta/scalafmt/compare/v3.8.0...v3.8.3) ## Usage ✅ **Please merge!** I'll automatically update this PR to resolve...
## About this PR 📦 Updates [org.typelevel:sbt-typelevel](https://github.com/typelevel/sbt-typelevel) from `0.4.22` to `0.7.2` 📜 [GitHub Release Notes](https://github.com/typelevel/sbt-typelevel/releases/tag/v0.7.2) - [Version Diff](https://github.com/typelevel/sbt-typelevel/compare/v0.4.22...v0.7.2) ## Usage ✅ **Please merge!** I'll automatically update this PR to resolve...
## About this PR 📦 Updates [org.scala-sbt:sbt](https://github.com/sbt/sbt) from `1.9.9` to `1.10.1` 📜 [GitHub Release Notes](https://github.com/sbt/sbt/releases/tag/v1.10.1) - [Version Diff](https://github.com/sbt/sbt/compare/v1.9.9...v1.10.1) ## Usage ✅ **Please merge!** I'll automatically update this PR to resolve...
## About this PR 📦 Updates * [org.scala-native:nscplugin](https://github.com/scala-native/scala-native) * [org.scala-native:sbt-scala-native](https://github.com/scala-native/scala-native) from `0.4.17` to `0.5.4` 📜 [GitHub Release Notes](https://github.com/scala-native/scala-native/releases/tag/v0.5.4) - [Version Diff](https://github.com/scala-native/scala-native/compare/v0.4.17...v0.5.4) ## Usage ✅ **Please merge!** I'll automatically update this...
## About this PR 📦 Updates * [org.scala-lang:scala-library](https://github.com/scala/scala) * [org.scala-lang:scala-reflect](https://github.com/scala/scala) from `2.13.12` to `2.13.15` 📜 [GitHub Release Notes](https://github.com/scala/scala/releases/tag/v2.13.15) - [Version Diff](https://github.com/scala/scala/compare/v2.13.12...v2.13.15) ## Usage ✅ **Please merge!** I'll automatically update this...
## About this PR 📦 Updates [org.scala-sbt:sbt](https://github.com/sbt/sbt) from `1.9.9` to `1.10.2` ## Usage ✅ **Please merge!** I'll automatically update this PR to resolve conflicts as long as you don't change...