TPromise

final class TPromise[E, A] extends AnyVal
Companion:
object
class AnyVal
trait Matchable
class Any

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]]]