Package

monix.execution

misc

Permalink

package misc

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. misc
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. trait CanBindLocals[R] extends AnyRef

    Permalink

    Type class describing how Local binding works for specific data types.

    Type class describing how Local binding works for specific data types.

    This is needed because asynchronous data types, like Future, that can be waited on, should also clear the modified context after completion.

    NOTE: this type class does not work for data types that suspend the execution, like Coeval or Task, because Local is meant to be used in a side effectful way. Instances of this type class can't be implemented for data types like Task, as a technical limitation, because Task would also need a suspended Context evaluation in bindContext.

    Annotations
    @implicitNotFound( ... )
  2. trait HygieneUtilMacros extends AnyRef

    Permalink

    Utilities for macro-hygiene.

  3. trait InlineMacros extends AnyRef

    Permalink
  4. final class Local[A] extends LocalDeprecated[A]

    Permalink

    A Local is a ThreadLocal whose scope is flexible.

    A Local is a ThreadLocal whose scope is flexible. The state of all Locals may be saved or restored onto the current thread by the user. This is useful for threading Locals through execution contexts.

    Because it's not meaningful to inherit control from two places, Locals don't have to worry about having to merge two contexts.

    Note: the implementation is optimized for situations in which save and restore optimizations are dominant.

  5. final class ThreadLocal[A] extends AnyRef

    Permalink

    Cross-platform equivalent for java.lang.ThreadLocal, for specifying thread-local variables.

    Cross-platform equivalent for java.lang.ThreadLocal, for specifying thread-local variables.

    These variables differ from their normal counterparts in that each thread that accesses one (via its ThreadLocal#get or ThreadLocal#set method) has its own, independently initialized copy of the variable.

  6. type AsyncQueue[A] = execution.AsyncQueue[A]

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 3.0.0) Switch to monix.execution.AsyncQueue

  7. type AsyncSemaphore = execution.AsyncSemaphore

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 3.0.0) Switch to monix.execution.AsyncSemaphore

  8. type AsyncVar[A] = execution.AsyncVar[A]

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 3.0.0) Switch to monix.execution.AsyncVar

Value Members

  1. object CanBindLocals extends CanIsolateInstancesLevel1

    Permalink
  2. object Local extends LocalCompanionDeprecated

    Permalink

  3. object ThreadLocal

    Permalink

Deprecated Value Members

  1. def AsyncQueue: execution.AsyncQueue.type

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 3.0.0) Switch to monix.execution.AsyncQueue

  2. def AsyncSemaphore: execution.AsyncSemaphore.type

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 3.0.0) Switch to monix.execution.AsyncSemaphore

  3. def AsyncVar: execution.AsyncVar.type

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 3.0.0) Switch to monix.execution.AsyncVar

Inherited from AnyRef

Inherited from Any

Ungrouped