TPromise

zio.stm.TPromise
See theTPromise companion object
final class TPromise[E, A] extends AnyVal

Attributes

Companion
object
Graph
Supertypes
class AnyVal
trait Matchable
class Any

Members list

Value members

Concrete methods

def await: STM[E, A]
def done(v: Either[E, A]): USTM[Boolean]
def fail(e: E): USTM[Boolean]
def poll: USTM[Option[Either[E, A]]]
def succeed(a: A): USTM[Boolean]

Concrete fields

val ref: TRef[Option[Either[E, A]]]