Skip to content

dag-core / Exports / LifecycleTaskExecutorPort

Class: LifecycleTaskExecutorPort

Adapter that implements ITaskExecutorPort by delegating to NodeLifecycleRunner. Bridges the task execution input into the node lifecycle execution model.

Implements

Table of contents

Constructors

Methods

Constructors

constructor

new LifecycleTaskExecutorPort(nodeManifestRegistry, lifecycleFactory?): LifecycleTaskExecutorPort

Parameters

NameType
nodeManifestRegistryINodeManifestRegistry
lifecycleFactory?INodeLifecycleFactory

Returns

LifecycleTaskExecutorPort

Defined in

services/lifecycle-task-executor-port.ts:22

Methods

execute

execute(input): Promise<TTaskExecutionResult>

Parameters

NameType
inputITaskExecutionInput

Returns

Promise<TTaskExecutionResult>

Implementation of

ITaskExecutorPort.execute

Defined in

services/lifecycle-task-executor-port.ts:30

Released under the MIT License.