UNPKG

@node-ts/bus-workflow

Version:

A workflow engine for orchestrating logic flows in distributed applications.

16 lines 745 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.MessageWorkflowMapping = void 0; class MessageWorkflowMapping { /** * A mapping definition between an incoming message and 0..* workflow data instances in persistence. * @param lookupMessage A lookup function that resolves a value used to lookup workflow data * @param workflowDataProperty The field in workflow data where the lookup value is matched against */ constructor(lookupMessage, workflowDataProperty) { this.lookupMessage = lookupMessage; this.workflowDataProperty = workflowDataProperty; } } exports.MessageWorkflowMapping = MessageWorkflowMapping; //# sourceMappingURL=message-workflow-mapping.js.map