1 | ;
|
2 | /**
|
3 | * @license
|
4 | * Copyright (c) 2019 The Polymer Project Authors. All rights reserved.
|
5 | * This code may only be used under the BSD style license found at
|
6 | * http://polymer.github.io/LICENSE.txt The complete set of authors may be found
|
7 | * at http://polymer.github.io/AUTHORS.txt The complete set of contributors may
|
8 | * be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by
|
9 | * Google as part of the polymer project is also subject to an additional IP
|
10 | * rights grant found at http://polymer.github.io/PATENTS.txt
|
11 | */
|
12 | Object.defineProperty(exports, "__esModule", { value: true });
|
13 | exports.measurements = exports.Deferred = void 0;
|
14 | class Deferred {
|
15 | constructor() {
|
16 | this.promise = new Promise((resolve, reject) => {
|
17 | this.resolve = resolve;
|
18 | this.reject = reject;
|
19 | });
|
20 | }
|
21 | }
|
22 | exports.Deferred = Deferred;
|
23 | exports.measurements = new Set(['callback', 'fcp', 'global']);
|
24 | //# sourceMappingURL=types.js.map |
\ | No newline at end of file |