@azure/abort-controller 1.1.0-alpha.20220104.5 → 1.1.0-alpha.20220112.1

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@azure/abort-controller",
3
3
  "sdk-type": "client",
4
- "version": "1.1.0-alpha.20220104.5",
4
+ "version": "1.1.0-alpha.20220112.1",
5
5
  "description": "Microsoft Azure SDK for JavaScript - Aborter",
6
6
  "main": "./dist/index.js",
7
7
  "module": "dist-esm/src/index.js",
@@ -80,7 +80,7 @@
80
80
  "@types/node": "^12.0.0",
81
81
  "chai": "^4.2.0",
82
82
  "cross-env": "^7.0.2",
83
- "downlevel-dts": "~0.4.0",
83
+ "downlevel-dts": "^0.8.0",
84
84
  "eslint": "^7.15.0",
85
85
  "karma": "^6.2.0",
86
86
  "karma-chrome-launcher": "^3.0.0",
@@ -64,6 +64,12 @@ export declare class AbortController {
64
64
  * @param parentSignals - The AbortSignals that will signal aborted on the AbortSignal associated with this controller.
65
65
  */
66
66
  constructor(...parentSignals: AbortSignalLike[]);
67
+ /*
68
+ * The AbortSignal associated with this controller that will signal aborted
69
+ * when the abort method is called on this controller.
70
+ *
71
+ * @readonly
72
+ */
67
73
  readonly signal: AbortSignal;
68
74
  /**
69
75
  * Signal that any operations passed this controller's associated abort signal
@@ -32,7 +32,17 @@ export interface AbortSignalLike {
32
32
  */
33
33
  export declare class AbortSignal implements AbortSignalLike {
34
34
  constructor();
35
+ /*
36
+ * Status of whether aborted or not.
37
+ *
38
+ * @readonly
39
+ */
35
40
  readonly aborted: boolean;
41
+ /*
42
+ * Creates a new AbortSignal instance that will never be aborted.
43
+ *
44
+ * @readonly
45
+ */
36
46
  static readonly none: AbortSignal;
37
47
  /**
38
48
  * onabort event listener.