AsyncTaskLogic

A mixin for GraphStageLogic that allows to spawn interior asynchronous tasks. The futures are handled on a special execution context that ensures code runs within Akka stream.

class Object
trait Matchable
class Any

Value members

Abstract methods

protected def taskPending(): Unit

Concrete methods

final protected def task[B](name: String)(body: => Future[B])(cont: B => Unit): Future[B]
final protected def taskBusy: Boolean

Implicits

Implicits

final implicit protected val execAsync: ExecutionContext