unsafe

dev.tauri.choam.core.Rxn$.unsafe$
object unsafe

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
unsafe.type

Members list

Concise view

Type members

Classlikes

sealed abstract class Ticket[A]

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Value members

Concrete methods

def cas[A](r: Ref[A], ov: A, nv: A): Axn[Unit]
def directRead[A](r: Ref[A]): Axn[A]
def exchange[A, B](ex: Exchanger[A, B]): Rxn[A, B]

This is not unsafe by itself, but it is only useful if there are other unsafe things going on (validation is handled automatically otherwise). This is why it is part of the unsafe API.

This is not unsafe by itself, but it is only useful if there are other unsafe things going on (validation is handled automatically otherwise). This is why it is part of the unsafe API.

Attributes

def retry[A, B]: Rxn[A, B]
def ticketRead[A](r: Ref[A]): Axn[Ticket[A]]