Type alias WeenieAmqpInputDeps

WeenieAmqpInputDeps: {
    config: {
        amqp: {
            cnx: SimpleAmqpConfig;
            publishing: WeeniePublishingConfig;
        };
    };
    log: SimpleLoggerInterface;
    retry?: {
        exponential?: Retry["run"];
        periodic?: Retry["run"];
    };
}

Input deps for the AMQP module

Type declaration

  • config: {
        amqp: {
            cnx: SimpleAmqpConfig;
            publishing: WeeniePublishingConfig;
        };
    }
  • log: SimpleLoggerInterface
  • Optional retry?: {
        exponential?: Retry["run"];
        periodic?: Retry["run"];
    }

    A retry algorithm to use to run jobs. A few things to note about this:

    1. Weenie now offers several options for retry algorithms by default.
    • Optional exponential?: Retry["run"]
    • Optional periodic?: Retry["run"]

Generated using TypeDoc