Our great sponsors
-
free-arrow
Implementation of the Free Arrow in Scala and other helpful tools for working with Arrows
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
Interesting post, although the use of `cats.IO` feels a little shoehorned. I've found some nice cats/akka synergy by abstracting over flows using a `cats.arrow.Arrow` instance for `akka.stream.scaladsl.Flow`. That might be just as shoehorned though, since I haven't yet worked out whether akkas `Flow` forms a lawful Arrow
Of course, Future is preferable to callbacks, and it's fine for interoperability between libraries that don't use the same effect type, serving a similar purpose as the Reactive Streams API.