Interface IActionPublisher<A, ARM, AM>

Action publisher interface

Used by [SagaManager]

Author

Иван Дугалић / Ivan Dugalic /

Idugalic

interface IActionPublisher<A, ARM, AM> {
    publish: ((actions) => Promise<readonly (A & AM)[]>);
}

Type Parameters

  • A

    Action

  • ARM

    Action Result Metadata

  • AM

    Action Metadata

Hierarchy (view full)

Properties

Properties

publish: ((actions) => Promise<readonly (A & AM)[]>)

Publish actions

Type declaration

    • (actions): Promise<readonly (A & AM)[]>
    • Parameters

      • actions: readonly (A & ARM)[]

        of Actions with Action Result Metadata of type A & ARM

      Returns Promise<readonly (A & AM)[]>

Returns

list of newly published Actions with Action Metadata of type A & AM

Generated using TypeDoc