/* * Copyright (C) 2009-2021 Lightbend Inc. */ package akka.dispatch.internal import scala.concurrent.ExecutionContext import akka.annotation.InternalApi /** * Factory to create same thread ec. Not intended to be called from any other site than to create [[akka.dispatch.ExecutionContexts#parasitic]] * * INTERNAL API */ @InternalApi private[dispatch] object SameThreadExecutionContext { def apply(): ExecutionContext = ExecutionContext.parasitic }