Skip to content

TaskExecutor

Runs a TaskConfiguration when its trigger fires.

Created by the ExecutorFactory and started or stopped by a TaskControlExecutor. Each task type has its own executor: BackgroundTaskExecutor, AppTaskExecutor and FunctionTaskExecutor.

Inheritance
Implementers

Constructors

TaskExecutor

TaskExecutor<TConfig extends TaskConfiguration>()

Properties

probes

List<Probe> get probes

The probes in this task executor. Empty for tasks without measures.

states

Stream<ExecutorState> get states

The merged state events of all probes in this task executor.

task

TConfig get task

The TaskConfiguration for this task executor.