Executor

libretto.Executor
See theExecutor companion object
trait Executor

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
Self type

Members list

Type members

Types

type Bridge <: Of[Dsl]
type Dsl <: CoreDSL
type ExecutionParam[A]

Type of parameters used to tweak execution.

Type of parameters used to tweak execution.

Type parameters

A

returned to the caller when execution starts

Attributes

Value members

Abstract methods

def cancel(using pos: SourcePos)(execution: Execution): Async[Unit]
def execute[A, B, P](prg: A -⚬ B, params: ExecutionParam[P]): (Executing[Bridge, A, B], P)

Watch for abrupt cancellation of the given Execution. If the execution completes normally, the returned Async may never complete.

Watch for abrupt cancellation of the given Execution. If the execution completes normally, the returned Async may never complete.

Attributes

Concrete methods

final def execute[A, B](prg: A -⚬ B): Executing[Bridge, A, B]
def narrow: Of[Dsl, Bridge]