Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
constructor (
@inject(BUS_SYMBOLS.HandlerRegistry) private readonly handlerRegistry: HandlerRegistry,
@inject(BUS_WORKFLOW_SYMBOLS.Persistence) private readonly persistence: Persistence,
@inject(BUS_WORKFLOW_INTERNAL_SYMBOLS.StartedByProxy) private readonly startedByFactory: (
workflowDataConstructor: WorkflowDataConstructor,
handler: WorkflowHandlerFn
) => StartedByProxy,
@inject(BUS_WORKFLOW_INTERNAL_SYMBOLS.HandlesProxy) private readonly handlesFactory: (
handler: WorkflowHandlerFn,
workflowDataConstructor: WorkflowDataConstructor,
messageMapping: MessageWorkflowMapping
) => HandlesProxy,
@inject(LOGGER_SYMBOLS.Logger) private readonly logger: Logger
) {
}