faithful


License

License

GroupId

GroupId

org.julienrf
ArtifactId

ArtifactId

faithful_sjs1_2.13
Last Version

Last Version

2.0.0
Release Date

Release Date

Type

Type

jar
Description

Description

faithful
faithful
Project URL

Project URL

https://github.com/julienrf/faithful
Project Organization

Project Organization

org.julienrf
Source Code Management

Source Code Management

https://github.com/julienrf/faithful

Download faithful_sjs1_2.13

How to add to project

<!-- https://jarcasting.com/artifacts/org.julienrf/faithful_sjs1_2.13/ -->
<dependency>
    <groupId>org.julienrf</groupId>
    <artifactId>faithful_sjs1_2.13</artifactId>
    <version>2.0.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.julienrf/faithful_sjs1_2.13/
implementation 'org.julienrf:faithful_sjs1_2.13:2.0.0'
// https://jarcasting.com/artifacts/org.julienrf/faithful_sjs1_2.13/
implementation ("org.julienrf:faithful_sjs1_2.13:2.0.0")
'org.julienrf:faithful_sjs1_2.13:jar:2.0.0'
<dependency org="org.julienrf" name="faithful_sjs1_2.13" rev="2.0.0">
  <artifact name="faithful_sjs1_2.13" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.julienrf', module='faithful_sjs1_2.13', version='2.0.0')
)
libraryDependencies += "org.julienrf" % "faithful_sjs1_2.13" % "2.0.0"
[org.julienrf/faithful_sjs1_2.13 "2.0.0"]

Dependencies

compile (2)

Group / Artifact Type Version
org.scala-lang : scala-library jar 2.13.2
org.scala-js : scalajs-library_2.13 jar 1.1.0

test (1)

Group / Artifact Type Version
org.scala-js : scalajs-test-bridge_2.13 jar 1.1.0

Project Modules

There are no modules declared in this project.

faithful

faithful: deserving trust ; keeping your promises or doing what you are supposed to do.

Minimalistic Scala.js promise/future implementation that does not violate parametricity.

Key features:

  • lightweight: 50 SLOC, about 2 kB of uncompressed JavaScript (that’s about 50 times smaller than depending on Scala’s Future),
  • efficient: 2 times faster than Scala’s Future and 5 times faster than JavaScript’s Promise,
  • parametric: you can safely implement Monad[faithful.Future],
  • reasonable: exceptions are not silently swallowed.

Usage

The following artifacts are published under the organization name org.julienrf:

License

This content is released under the MIT License.

Versions

Version
2.0.0