Skip to content

@codesoul-co/hypha-core / modules/execution-port/governed-execution-port

Using this module

Use the Governed execution port module for defining or implementing provider-neutral ports. It exports 1 class.

Import from the package entrypoint

ts
import {
  GovernedExecutionPort,
} from '@codesoul-co/hypha-core';

Usage patterns

  • The module exposes 1 class as constructable runtime implementations. Each symbol entry lists its constructor and public methods.

Public exports

SymbolKindSignatureDescription
GovernedExecutionPortclassnew GovernedExecutionPort(authorizationVerifier: ExecutionAuthorizationVerifier, dispatcher: ExecutionOperationDispatcher, now: () => string): GovernedExecutionPortGoverned Execution Port class with 2 public constructor or member entries; its exact declarations are listed below.

GovernedExecutionPort

Governed Execution Port class with 2 public constructor or member entries; its exact declarations are listed below.

Declaration

text
export declare class GovernedExecutionPort implements ExecutionPort {
    constructor(authorizationVerifier: ExecutionAuthorizationVerifier, dispatcher: ExecutionOperationDispatcher, now: () => string);
    execute(input: ExecutionDispatchRequest, abortSignal: AbortSignal): Promise<ExecutionActivityResult>;
}

Public members

MemberKindSignatureDescription
constructorconstructor(authorizationVerifier: ExecutionAuthorizationVerifier, dispatcher: ExecutionOperationDispatcher, now: () => string): GovernedExecutionPortCreates an instance of this class.
executemethodexecute(input: ExecutionDispatchRequest, abortSignal: AbortSignal): Promise<ExecutionActivityResult>Public method; parameters and return type are shown in the signature.