-
Notifications
You must be signed in to change notification settings - Fork 181
/
AbortSignalLike.yml
65 lines (65 loc) · 2.07 KB
/
AbortSignalLike.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
### YamlMime:TSType
name: AbortSignalLike
uid: '@azure/core-http.AbortSignalLike'
package: '@azure/core-http'
summary: |-
Allows the request to be aborted upon firing of the "abort" event.
Compatible with the browser built-in AbortSignal and common polyfills.
fullName: AbortSignalLike
remarks: ''
isDeprecated: false
type: interface
properties:
- name: aborted
uid: '@azure/core-http.AbortSignalLike.aborted'
package: '@azure/core-http'
summary: Indicates if the signal has already been aborted.
fullName: aborted
remarks: ''
isDeprecated: false
syntax:
content: 'aborted: boolean'
return:
description: ''
type: boolean
methods:
- name: 'addEventListener("abort", (this: AbortSignalLike, ev: any) => any, any)'
uid: '@azure/core-http.AbortSignalLike.addEventListener'
package: '@azure/core-http'
summary: Add new "abort" event listener, only support "abort" event.
remarks: ''
isDeprecated: false
syntax:
content: >-
function addEventListener(type: "abort", listener: (this:
AbortSignalLike, ev: any) => any, options?: any)
parameters:
- id: type
type: '"abort"'
description: ''
- id: listener
type: '(this: AbortSignalLike, ev: any) => any'
description: ''
- id: options
type: any
description: ''
- name: 'removeEventListener("abort", (this: AbortSignalLike, ev: any) => any, any)'
uid: '@azure/core-http.AbortSignalLike.removeEventListener'
package: '@azure/core-http'
summary: Remove "abort" event listener, only support "abort" event.
remarks: ''
isDeprecated: false
syntax:
content: >-
function removeEventListener(type: "abort", listener: (this:
AbortSignalLike, ev: any) => any, options?: any)
parameters:
- id: type
type: '"abort"'
description: ''
- id: listener
type: '(this: AbortSignalLike, ev: any) => any'
description: ''
- id: options
type: any
description: ''