Promise

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

Value members

Concrete methods

def make[E, A]: 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: Id): 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.

def makeManaged[E, A]: UManaged[Promise[E, A]]

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

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