monix-bio


License

License

GroupId

GroupId

io.monix
ArtifactId

ArtifactId

monix-bio_sjs0.6_2.12
Last Version

Last Version

1.1.0
Release Date

Release Date

Type

Type

jar
Description

Description

monix-bio
monix-bio
Project URL

Project URL

https://monix.io
Project Organization

Project Organization

io.monix
Source Code Management

Source Code Management

https://github.com/monix/monix-bio

Download monix-bio_sjs0.6_2.12

How to add to project

<!-- https://jarcasting.com/artifacts/io.monix/monix-bio_sjs0.6_2.12/ -->
<dependency>
    <groupId>io.monix</groupId>
    <artifactId>monix-bio_sjs0.6_2.12</artifactId>
    <version>1.1.0</version>
</dependency>
// https://jarcasting.com/artifacts/io.monix/monix-bio_sjs0.6_2.12/
implementation 'io.monix:monix-bio_sjs0.6_2.12:1.1.0'
// https://jarcasting.com/artifacts/io.monix/monix-bio_sjs0.6_2.12/
implementation ("io.monix:monix-bio_sjs0.6_2.12:1.1.0")
'io.monix:monix-bio_sjs0.6_2.12:jar:1.1.0'
<dependency org="io.monix" name="monix-bio_sjs0.6_2.12" rev="1.1.0">
  <artifact name="monix-bio_sjs0.6_2.12" type="jar" />
</dependency>
@Grapes(
@Grab(group='io.monix', module='monix-bio_sjs0.6_2.12', version='1.1.0')
)
libraryDependencies += "io.monix" % "monix-bio_sjs0.6_2.12" % "1.1.0"
[io.monix/monix-bio_sjs0.6_2.12 "1.1.0"]

Dependencies

compile (3)

Group / Artifact Type Version
org.scala-lang : scala-library jar 2.12.10
org.scala-js : scalajs-library_2.12 jar 0.6.33
io.monix : monix-catnap_sjs0.6_2.12 jar 3.3.0

test (4)

Group / Artifact Type Version
org.scala-js : scalajs-test-bridge_2.12 jar 0.6.33
io.monix : minitest_sjs0.6_2.12 jar 2.8.2
io.monix : minitest-laws_sjs0.6_2.12 jar 2.8.2
org.typelevel : cats-effect-laws_sjs0.6_2.12 jar 2.1.4

Project Modules

There are no modules declared in this project.

Monix-BIO

Maven Central Join the chat at https://gitter.im/monix/monix-bio Snapshot

Asynchronous data type with typed errors. An enhanced version of monix.eval.Task.

Visit Documentation Website

The latest version

The latest stable version, compatible with Monix 3.x, Cats 2.x and Cats-Effect 2.x:

libraryDependencies += "io.monix" %% "monix-bio" % "1.1.0"

Published for ScalaJS 0.6.x, 1.x, Scala 2.12 and 2.13.

Roadmap

  • Complete documentation (see #133 for current progress)
  • reactive module to use monix.reactive.Observable with monix.bio.IO
  • built-in interop with monix.eval.Task without any imports
  • (?) UIO-friendy builders for cats.effect.concurrent and monix-catnap
  • (?) Coeval with typed errors

Contributing

I will really appreciate feedback, bugs and complaints about the project.

If you'd like to contribute code then look for issues tagged with good first issue or just ask me on gitter and I should be able to find something regardless of your level of expertise. :)

I'm happy to mentor anyone interested in contributing.

Credits

Most of the code comes from Monix which was customized to include support for error type parameter directly in the internals.

The idea of a second type parameter comes from ZIO. Its implementation and API for error handling with two error channels served as an inspiration to the entire idea and some of the solutions. A lot of the benchmarks also come from their repository.

Cats-bio has been extremely useful at the beginning because of many similarities between monix.eval.Task and cats.effect.IO internals.

io.monix

Monix

Asynchronous, Reactive programming for Scala and Scala.js

Versions

Version
1.1.0
1.0.0
1.0.0-RC3-test
0.1.1
0.1.0