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

Concise view

Type members

Types

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

Type of parameters used to tweak execution.

Type of parameters used to tweak execution.

Attributes

A

returned to the caller when execution starts

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]