final class PureFiber[E, A] extends Fiber[[β$60$]Kleisli[[β$2$]FreeT[ThreadF, [β$1$]Kleisli[[β$0$]Outcome[[A]A, E, β$0$], FiberCtx[E], β$1$], β$2$], UnsafeRef[Map[MVar[Any], Any]], β$60$], E, A] with Serializable
- Source
- pure.scala
- Alphabetic
- By Inheritance
- PureFiber
- Fiber
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val cancel: PureConc[E, Unit]
Requests the cancelation of the fiber bound to this
Fiber
handle and awaits its finalization.Requests the cancelation of the fiber bound to this
Fiber
handle and awaits its finalization.cancel semantically blocks the caller until finalization of the cancellee has completed. This means that if the cancellee is currently masked, cancel will block until it is unmasked and finalized.
Cancelation is idempotent, so repeated calls to cancel simply block until finalization is complete. If cancel is called after finalization is complete, it will return immediately.
cancel is uncancelable; a fiber that is canceling another fiber is masked from cancelation.
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val join: PureConc[E, Outcome[[β$67$]Kleisli[[β$2$]FreeT[ThreadF, [β$1$]Kleisli[[β$0$]Outcome[[A]A, E, β$0$], FiberCtx[E], β$1$], β$2$], UnsafeRef[Map[MVar[Any], Any]], β$67$], E, A]]
Awaits the completion of the fiber bound to this Fiber and returns its Outcome once it completes.
- def joinWith(onCancel: Kleisli[[β$2$]FreeT[ThreadF, [β$1$]Kleisli[[β$0$]Outcome[[A]A, E, β$0$], FiberCtx[E], β$1$], β$2$], UnsafeRef[Map[MVar[Any], Any]], A])(implicit F: MonadCancel[[β$60$]Kleisli[[β$2$]FreeT[ThreadF, [β$1$]Kleisli[[β$0$]Outcome[[A]A, E, β$0$], FiberCtx[E], β$1$], β$2$], UnsafeRef[Map[MVar[Any], Any]], β$60$], E]): Kleisli[[β$2$]FreeT[ThreadF, [β$1$]Kleisli[[β$0$]Outcome[[A]A, E, β$0$], FiberCtx[E], β$1$], β$2$], UnsafeRef[Map[MVar[Any], Any]], A]
Awaits the completion of the bound fiber and returns its result once it completes.
Awaits the completion of the bound fiber and returns its result once it completes.
If the fiber completes with Outcome.Succeeded, the successful value is returned. If the fiber completes with Outcome.Errored, the error is raised. If the fiber completes with Outcome.Canceled,
onCancel
is run.- Definition Classes
- Fiber
- def joinWithNever(implicit F: GenSpawn[[β$60$]Kleisli[[β$2$]FreeT[ThreadF, [β$1$]Kleisli[[β$0$]Outcome[[A]A, E, β$0$], FiberCtx[E], β$1$], β$2$], UnsafeRef[Map[MVar[Any], Any]], β$60$], E]): Kleisli[[β$2$]FreeT[ThreadF, [β$1$]Kleisli[[β$0$]Outcome[[A]A, E, β$0$], FiberCtx[E], β$1$], β$2$], UnsafeRef[Map[MVar[Any], Any]], A]
Awaits the completion of the bound fiber and returns its result once it completes.
Awaits the completion of the bound fiber and returns its result once it completes.
If the fiber completes with Outcome.Succeeded, the successful value is returned. If the fiber completes with Outcome.Errored, the error is raised. If the fiber completes with Outcome.Canceled, the caller is indefinitely suspended without termination.
- Definition Classes
- Fiber
- def joinWithUnit(implicit F: MonadCancel[[β$60$]Kleisli[[β$2$]FreeT[ThreadF, [β$1$]Kleisli[[β$0$]Outcome[[A]A, E, β$0$], FiberCtx[E], β$1$], β$2$], UnsafeRef[Map[MVar[Any], Any]], β$60$], E], ev: <:<[Unit, A]): Kleisli[[β$2$]FreeT[ThreadF, [β$1$]Kleisli[[β$0$]Outcome[[A]A, E, β$0$], FiberCtx[E], β$1$], β$2$], UnsafeRef[Map[MVar[Any], Any]], A]
Awaits the completion of the bound fiber and returns its result once it completes.
Awaits the completion of the bound fiber and returns its result once it completes.
If the fiber completes with Outcome.Succeeded, the successful value is returned. If the fiber completes with Outcome.Errored, the error is raised. If the fiber completes with Outcome.Canceled, the result is ignored.
- Definition Classes
- Fiber
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val state0: MVar[Outcome[[β$61$]Kleisli[[β$2$]FreeT[ThreadF, [β$1$]Kleisli[[β$0$]Outcome[[A]A, E, β$0$], FiberCtx[E], β$1$], β$2$], UnsafeRef[Map[MVar[Any], Any]], β$61$], E, A]]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()