@azure/core-lro
Advanced tools
Comparing version
@@ -95,2 +95,3 @@ // Copyright (c) Microsoft Corporation. | ||
*/ | ||
// eslint-disable-next-line no-use-before-define | ||
var Poller = /** @class */ (function () { | ||
@@ -237,2 +238,7 @@ /** | ||
if (this.isDone() && this.resolve) { | ||
// If the poller has finished polling, this means we now have a result. | ||
// However, it can be the case that TResult is instantiated to void, so | ||
// we are not expecting a result anyway. To assert that we might not | ||
// have a result eventually after finishing polling, we cast the result | ||
// to TResult. | ||
this.resolve(state.result); | ||
@@ -239,0 +245,0 @@ } |
// Copyright (c) Microsoft Corporation. | ||
// Licensed under the MIT license. | ||
export {}; | ||
//# sourceMappingURL=pollOperation.js.map |
@@ -6,3 +6,3 @@ /*! | ||
* | ||
* Azure Core LRO SDK for JavaScript - 1.0.3-alpha.20201109.1 | ||
* Azure Core LRO SDK for JavaScript - 1.0.3-alpha.20201215.1 | ||
*/ | ||
@@ -105,2 +105,3 @@ 'use strict'; | ||
*/ | ||
// eslint-disable-next-line no-use-before-define | ||
var Poller = /** @class */ (function () { | ||
@@ -247,2 +248,7 @@ /** | ||
if (this.isDone() && this.resolve) { | ||
// If the poller has finished polling, this means we now have a result. | ||
// However, it can be the case that TResult is instantiated to void, so | ||
// we are not expecting a result anyway. To assert that we might not | ||
// have a result eventually after finishing polling, we cast the result | ||
// to TResult. | ||
this.resolve(state.result); | ||
@@ -249,0 +255,0 @@ } |
@@ -5,3 +5,3 @@ { | ||
"sdk-type": "client", | ||
"version": "1.0.3-alpha.20201109.1", | ||
"version": "1.0.3-alpha.20201215.1", | ||
"description": "LRO Polling strtegy for the Azure SDK in TypeScript", | ||
@@ -113,3 +113,3 @@ "tags": [ | ||
"chai": "^4.2.0", | ||
"eslint": "^6.1.0", | ||
"eslint": "^7.15.0", | ||
"karma": "^5.1.0", | ||
@@ -138,5 +138,5 @@ "karma-chrome-launcher": "^3.0.0", | ||
"ts-node": "^8.3.0", | ||
"typescript": "~3.9.3", | ||
"typescript": "4.1.2", | ||
"uglify-js": "^3.4.9" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
116082
1.77%1377
0.95%