CallingThreadExecutionContext

object CallingThreadExecutionContext extends ExecutionContext with Executor

Execution Context that runes any submitted task on the calling thread. This is meant to be used for small code blocks like recording or finishing a Span that usually happen after completing a Future.

trait Executor
trait ExecutionContext
class Object
trait Matchable
class Any

Value members

Concrete methods

override def execute(runnable: Runnable): Unit
Definition Classes
Executor -> ExecutionContext
override def reportFailure(t: Throwable): Unit
Definition Classes
ExecutionContext

Deprecated and Inherited methods

def prepare(): ExecutionContext
Deprecated
[Since version 2.12.0] preparation of ExecutionContexts will be removed
Inherited from:
ExecutionContext