1 | ;
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | exports.isDurable = void 0;
|
4 | const constants_1 = require("@nestjs/common/constants");
|
5 | function isDurable(provider) {
|
6 | const metadata = Reflect.getMetadata(constants_1.SCOPE_OPTIONS_METADATA, provider);
|
7 | return metadata && metadata.durable;
|
8 | }
|
9 | exports.isDurable = isDurable;
|