@djeka07/nestjs-azure-service-bus
Version:
NestJS Azure service bus based on @azure/service-bus package
13 lines • 415 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const helpers_1 = require("../helpers");
exports.default = (receiver) => {
if ((0, helpers_1.isEmpty)(receiver)) {
return '';
}
if (!receiver?.subscription) {
return receiver.name;
}
return `${receiver.name}/${receiver.subscription}`;
};
//# sourceMappingURL=build-azure-service-bus-receiver-key.js.map