Promise

zio.Promise
See thePromise companion class
object Promise

Attributes

Companion
class
Source
Promise.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Promise.type

Members list

Type members

Classlikes

object unsafe

Attributes

Source
Promise.scala
Supertypes
class Object
trait Matchable
class Any
Self type
unsafe.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.

Attributes

Source
Promise.scala
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.

Attributes

Source
Promise.scala