Registry / utility / cats-effect-2-12

cats-effect-2-12

JSON →
library3.7.0javamavenunverified

Cats Effect is a purely functional runtime system for Scala, providing abstractions for asynchronous and concurrent programming.

<dependency> <groupId>org.typelevel</groupId> <artifactId>cats-effect_2.12</artifactId> <version>3.7.0</version> </dependency>
INSTALL
IMPORT
SIG · CATS-EFFECT-2-12
C
cats-effect-2-12
utilityjavav3.7.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

IO
cats.effect.IO

Create and run a simple IO effect

import cats.effect.IO; import cats.effect.unsafe.IORuntime; public class Main { public static void main(String[] args) { IO<String> greeting = IO.pure("Hello, Cats Effect!"); System.out.println(greeting.unsafeRunSync()); } }
Debug
Known issues
breakingCats Effect 3.x has breaking API changes from 2.x; ensure compatibility with your Scala version.
fix
Use cats-effect_2.12 for Scala 2.12; for Scala 2.13 use cats-effect_2.13. Check migration guides for version upgrades.
affects: >=3.0.0
Upgrade
Version history
3.7.0latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
cats-effect-2-12 — mvn dependency:get cats-effect-2-12 · libregistry