Promise

object Promise
Companion:
class
class Object
trait Matchable
class Any
Promise.type

Value members

Concrete methods

def make[E, A](implicit trace: Trace): UIO[Promise[E, A]]

Makes a new promise to be completed by the fiber creating the promise.

Makes a new promise to be completed by the fiber creating the promise.

def makeAs[E, A](fiberId: => FiberId)(implicit trace: Trace): UIO[Promise[E, A]]

Makes a new promise to be completed by the fiber with the specified id.

Makes a new promise to be completed by the fiber with the specified id.