Packages

o

org.http4s.util

execution

object execution

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

Value Members

  1. val direct: ExecutionContextExecutor

    Execute Runnables directly on the current thread, using a stack frame.

    Execute Runnables directly on the current thread, using a stack frame.

    This is not safe to use for recursive function calls as you will ultimately encounter a stack overflow. For those situations, use trampoline.

  2. val trampoline: ExecutionContextExecutor

    A trampolining ExecutionContext

    A trampolining ExecutionContext

    This ExecutionContext is run thread locally to avoid context switches. Because this is a thread-local executor, if there is a dependency between the submitted Runnables and the thread becomes blocked, there will be a deadlock.