@team-supercharge/nest-amqp
Version:
AMQP 1.0 module for Nest framework
21 lines (20 loc) • 1.02 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.ListenerMetadata = void 0;
/* eslint-disable @typescript-eslint/ban-types */
/**
* Metadata added by the `@Listener` decorator
*/
class ListenerMetadata {
// istanbul ignore next
constructor(metadata) {
this.connection = metadata === null || metadata === void 0 ? void 0 : metadata.connection;
this.source = metadata === null || metadata === void 0 ? void 0 : metadata.source;
this.options = metadata === null || metadata === void 0 ? void 0 : metadata.options;
this.callback = metadata === null || metadata === void 0 ? void 0 : metadata.callback;
this.callbackName = metadata === null || metadata === void 0 ? void 0 : metadata.callbackName;
this.targetName = metadata === null || metadata === void 0 ? void 0 : metadata.targetName;
this.target = metadata === null || metadata === void 0 ? void 0 : metadata.target;
}
}
exports.ListenerMetadata = ListenerMetadata;