Interface ISaga<AR, A>

ISaga represents the central point of control deciding what to execute next A. It is responsible for mapping different events from aggregates into action results AR that the Saga then can use to calculate the next actions A to be mapped to command of other aggregates.

Author

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

Idugalic

interface ISaga {
    react: ((ar) => readonly A[]);
}

Type Parameters

  • AR

    Action Result type

  • A

    Action type

Hierarchy

Implemented by

Properties

Properties

react: ((ar) => readonly A[])

Type declaration

    • (ar): readonly A[]
    • Parameters

      • ar: AR

      Returns readonly A[]

Generated using TypeDoc