dev.tauri.choam.core
Members list
Type members
Classlikes
Attributes
- Source
- Exchanger.scala
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Companion
- object
- Source
- Reactive.scala
- Supertypes
- Known subtypes
-
trait AsyncReactive[F]
- Self type
-
Reactive[F]
Attributes
- Companion
- trait
- Source
- Reactive.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Reactive.type
Attributes
- Companion
- object
- Source
- RetryStrategy.scala
- Supertypes
- Known subtypes
-
class Spin
Attributes
- Companion
- class
- Source
- RetryStrategy.scala
- Supertypes
-
trait Sumtrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
RetryStrategy.type
An effectful function from A
to B
; when executed, it may update any number of Refs atomically.
An effectful function from A
to B
; when executed, it may update any number of Refs atomically. (It may also create new Refs.)
These functions are composable (see below), and composition preserves their atomicity. That is, all affected Refs will be updated atomically.
A Rxn forms an Arrow (more specifically, an ArrowChoice). It also forms a Monad in B
; however, consider using the arrow combinators (when possible) instead of flatMap
(since a static combination of Rxn
s may be more performant).
The relation between Rxn and Axn is approximately Rxn[A, B] ≡ (A => Axn[B])
; or, alternatively Axn[A] ≡ Rxn[Any, A]
.
Attributes
Types
The description of an effect, which (when executed), results in a value of type A
; during execution, it may update any number of Refs atomically (and it may also create new Ref
s).
The description of an effect, which (when executed), results in a value of type A
; during execution, it may update any number of Refs atomically (and it may also create new Ref
s).
This type forms a Monad
. However, when composing these kinds of effects, also consider using Rxn and >>>
or *>
instead of flatMap
.
The relation between Axn and Rxn is approximately Axn[A] ≡ Rxn[Any, A]
; or, alternatively Rxn[A, B] ≡ (A => Axn[B])
(see toFunction).
Attributes
- Source
- package.scala