UNPKG

762 BJavaScriptView Raw
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3exports.Scope = void 0;
4/**
5 * @publicApi
6 */
7var Scope;
8(function (Scope) {
9 /**
10 * The provider can be shared across multiple classes. The provider lifetime
11 * is strictly tied to the application lifecycle. Once the application has
12 * bootstrapped, all providers have been instantiated.
13 */
14 Scope[Scope["DEFAULT"] = 0] = "DEFAULT";
15 /**
16 * A new private instance of the provider is instantiated for every use
17 */
18 Scope[Scope["TRANSIENT"] = 1] = "TRANSIENT";
19 /**
20 * A new instance is instantiated for each request processing pipeline
21 */
22 Scope[Scope["REQUEST"] = 2] = "REQUEST";
23})(Scope = exports.Scope || (exports.Scope = {}));