How to use the @node-ts/bus-core.BUS_SYMBOLS.HandlerRegistry function in @node-ts/bus-core

To help you get started, we’ve selected a few @node-ts/bus-core examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github node-ts / bus / packages / bus-workflow / src / workflow / registry / workflow-registry.ts View on Github external
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
  ) {
  }