/
PollOperationState.yml
90 lines (82 loc) · 2.51 KB
/
PollOperationState.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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
### YamlMime:TSType
name: PollOperationState
uid: '@azure/keyvault-keys.PollOperationState'
package: '@azure/keyvault-keys'
summary: >-
PollOperationState contains an opinionated list of the smallest set of
properties needed
to define any long running operation poller.
While the Poller class works as the local control mechanism to start
triggering, wait for,
and potentially cancel a long running operation, the PollOperationState
documents the status
of the remote long running operation.
It should be updated at least when the operation starts, when it's finished,
and when it's cancelled.
Though, implementations can have any other number of properties that can be
updated by other reasons.
fullName: PollOperationState<TResult>
remarks: ''
isDeprecated: false
type: interface
properties:
- name: error
uid: '@azure/keyvault-keys.PollOperationState.error'
package: '@azure/keyvault-keys'
summary: Will exist if the operation encountered any error.
fullName: error
remarks: ''
isDeprecated: false
syntax:
content: 'error?: Error'
return:
description: ''
type: Error
- name: isCancelled
uid: '@azure/keyvault-keys.PollOperationState.isCancelled'
package: '@azure/keyvault-keys'
summary: True if the operation has been cancelled.
fullName: isCancelled
remarks: ''
isDeprecated: false
syntax:
content: 'isCancelled?: boolean'
return:
description: ''
type: boolean
- name: isCompleted
uid: '@azure/keyvault-keys.PollOperationState.isCompleted'
package: '@azure/keyvault-keys'
summary: True if the operation has been completed.
fullName: isCompleted
remarks: ''
isDeprecated: false
syntax:
content: 'isCompleted?: boolean'
return:
description: ''
type: boolean
- name: isStarted
uid: '@azure/keyvault-keys.PollOperationState.isStarted'
package: '@azure/keyvault-keys'
summary: True if the operation has started.
fullName: isStarted
remarks: ''
isDeprecated: false
syntax:
content: 'isStarted?: boolean'
return:
description: ''
type: boolean
- name: result
uid: '@azure/keyvault-keys.PollOperationState.result'
package: '@azure/keyvault-keys'
summary: Will exist if the operation concluded in a result of an expected type.
fullName: result
remarks: ''
isDeprecated: false
syntax:
content: 'result?: TResult'
return:
description: ''
type: TResult