@azure/core-lro 1.0.2-dev.20200417.1 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +2 -2
- package/README.md +4 -6
- package/dist/index.js +1 -1
- package/package.json +3 -6
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -121,7 +121,7 @@ A guide on how to write them follows.
|
|
|
121
121
|
|
|
122
122
|
The `update` method defines how to request the remote service for updates on the status of the long running operation.
|
|
123
123
|
|
|
124
|
-
It optionally receives an object with an `abortSignal` property, from [@azure/abort-controller](https://github.com/Azure/azure-sdk-for-js/tree/
|
|
124
|
+
It optionally receives an object with an `abortSignal` property, from [@azure/abort-controller](https://github.com/Azure/azure-sdk-for-js/tree/f5ad8a25fd399564518f526a060a372e602f30c5/sdk/core/abort-controller)'s `AbortSignalLike`.
|
|
125
125
|
|
|
126
126
|
A more advanced use allows passing in a `fireProgress` function, which, if called, is responsible for triggering the
|
|
127
127
|
poller's `onProgress` callbacks.
|
|
@@ -161,7 +161,7 @@ async function update(
|
|
|
161
161
|
The operation's `cancel` method should attempt to cancel the pending operation, if it's allowed by the remote service.
|
|
162
162
|
Otherwise, it should throw.
|
|
163
163
|
|
|
164
|
-
It only optionally receives an object with an `abortSignal` property, from [@azure/abort-controller](https://github.com/Azure/azure-sdk-for-js/tree/
|
|
164
|
+
It only optionally receives an object with an `abortSignal` property, from [@azure/abort-controller](https://github.com/Azure/azure-sdk-for-js/tree/f5ad8a25fd399564518f526a060a372e602f30c5/sdk/core/abort-controller)'s `AbortSignalLike`.
|
|
165
165
|
|
|
166
166
|
It returns a promise that should be resolved with an updated version of the poller's operation.
|
|
167
167
|
|
|
@@ -352,13 +352,11 @@ Packages inside of [azure-sdk-for-js](https://github.com/Azure/azure-sdk-for-js)
|
|
|
352
352
|
|
|
353
353
|
## Next steps
|
|
354
354
|
|
|
355
|
-
Please take a look at the [samples](https://github.com/Azure/azure-sdk-for-js/tree/
|
|
355
|
+
Please take a look at the [samples](https://github.com/Azure/azure-sdk-for-js/tree/f5ad8a25fd399564518f526a060a372e602f30c5/sdk/core/core-lro/samples) directory for detailed examples on how to use this library.
|
|
356
356
|
|
|
357
357
|
## Contributing
|
|
358
358
|
|
|
359
|
-
|
|
360
|
-
[contributing guidelines](https://github.com/Azure/azure-sdk-for-js/blob/master/CONTRIBUTING.md)
|
|
361
|
-
for detailed information about how to contribute and what to expect while contributing.
|
|
359
|
+
If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/master/CONTRIBUTING.md) to learn more about how to build and test the code.
|
|
362
360
|
|
|
363
361
|
### Testing
|
|
364
362
|
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"url": "https://github.com/Azure/azure-sdk-for-js"
|
|
7
7
|
},
|
|
8
8
|
"sdk-type": "client",
|
|
9
|
-
"version": "1.0.2
|
|
9
|
+
"version": "1.0.2",
|
|
10
10
|
"description": "LRO Polling strtegy for the Azure SDK in TypeScript",
|
|
11
11
|
"tags": [
|
|
12
12
|
"isomorphic",
|
|
@@ -95,14 +95,12 @@
|
|
|
95
95
|
"sideEffects": false,
|
|
96
96
|
"dependencies": {
|
|
97
97
|
"@azure/abort-controller": "^1.0.0",
|
|
98
|
-
"@azure/core-http": "^1.
|
|
99
|
-
"@opentelemetry/types": "^0.2.0",
|
|
98
|
+
"@azure/core-http": "^1.1.1",
|
|
100
99
|
"events": "^3.0.0",
|
|
101
100
|
"tslib": "^1.10.0"
|
|
102
101
|
},
|
|
103
102
|
"devDependencies": {
|
|
104
|
-
"@
|
|
105
|
-
"@azure/identity": "^1.1.0-dev",
|
|
103
|
+
"@opentelemetry/api": "^0.6.1",
|
|
106
104
|
"@microsoft/api-extractor": "7.7.11",
|
|
107
105
|
"@rollup/plugin-commonjs": "^11.0.1",
|
|
108
106
|
"@rollup/plugin-multi-entry": "^3.0.0",
|
|
@@ -142,7 +140,6 @@
|
|
|
142
140
|
"rollup-plugin-sourcemaps": "^0.4.2",
|
|
143
141
|
"rollup-plugin-terser": "^5.1.1",
|
|
144
142
|
"rollup-plugin-visualizer": "^3.1.1",
|
|
145
|
-
"shx": "^0.3.2",
|
|
146
143
|
"ts-node": "^8.3.0",
|
|
147
144
|
"typescript": "~3.7.5",
|
|
148
145
|
"uglify-js": "^3.4.9"
|