PySimultan 0.6.0.1__py3-none-any.whl → 0.6.0.2__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
Files changed (106) hide show
  1. PySimultan2/CHANGELOG.md +3 -0
  2. PySimultan2/__about__.py +1 -1
  3. PySimultan2/default_types.py +7 -0
  4. {pysimultan-0.6.0.1.dist-info → pysimultan-0.6.0.2.dist-info}/METADATA +1 -1
  5. pysimultan-0.6.0.2.dist-info/RECORD +76 -0
  6. PySimultan2/typings/SIMULTAN/Data/Assets/__init__.pyi +0 -616
  7. PySimultan2/typings/SIMULTAN/Data/Components/__init__.pyi +0 -2538
  8. PySimultan2/typings/SIMULTAN/Data/FlowNetworks/__init__.pyi +0 -499
  9. PySimultan2/typings/SIMULTAN/Data/Geometry/__init__.pyi +0 -2219
  10. PySimultan2/typings/SIMULTAN/Data/MultiValues/__init__.pyi +0 -682
  11. PySimultan2/typings/SIMULTAN/Data/SimMath/__init__.pyi +0 -1654
  12. PySimultan2/typings/SIMULTAN/Data/SimNetworks/__init__.pyi +0 -442
  13. PySimultan2/typings/SIMULTAN/Data/SitePlanner/__init__.pyi +0 -193
  14. PySimultan2/typings/SIMULTAN/Data/Taxonomy/__init__.pyi +0 -367
  15. PySimultan2/typings/SIMULTAN/Data/Users/__init__.pyi +0 -116
  16. PySimultan2/typings/SIMULTAN/Data/ValueMappings/__init__.pyi +0 -212
  17. PySimultan2/typings/SIMULTAN/Data/__init__.pyi +0 -232
  18. PySimultan2/typings/SIMULTAN/DataMapping/__init__.pyi +0 -916
  19. PySimultan2/typings/SIMULTAN/Excel/__init__.pyi +0 -15
  20. PySimultan2/typings/SIMULTAN/Exceptions/__init__.pyi +0 -268
  21. PySimultan2/typings/SIMULTAN/Exchange/SimNetworkConnectors/__init__.pyi +0 -32
  22. PySimultan2/typings/SIMULTAN/Exchange/__init__.pyi +0 -116
  23. PySimultan2/typings/SIMULTAN/Projects/ManagedFiles/__init__.pyi +0 -433
  24. PySimultan2/typings/SIMULTAN/Projects/__init__.pyi +0 -435
  25. PySimultan2/typings/SIMULTAN/Serializer/CODXF/__init__.pyi +0 -103
  26. PySimultan2/typings/SIMULTAN/Serializer/CSV/__init__.pyi +0 -122
  27. PySimultan2/typings/SIMULTAN/Serializer/DXF/__init__.pyi +0 -1335
  28. PySimultan2/typings/SIMULTAN/Serializer/Geometry/__init__.pyi +0 -48
  29. PySimultan2/typings/SIMULTAN/Serializer/JSON/__init__.pyi +0 -562
  30. PySimultan2/typings/SIMULTAN/Serializer/METADXF/__init__.pyi +0 -11
  31. PySimultan2/typings/SIMULTAN/Serializer/PADXF/__init__.pyi +0 -21
  32. PySimultan2/typings/SIMULTAN/Serializer/PPATH/__init__.pyi +0 -11
  33. PySimultan2/typings/SIMULTAN/Serializer/Projects/__init__.pyi +0 -112
  34. PySimultan2/typings/SIMULTAN/Serializer/SIMLINKS/__init__.pyi +0 -5
  35. PySimultan2/typings/SIMULTAN/Serializer/SPDXF/__init__.pyi +0 -13
  36. PySimultan2/typings/SIMULTAN/Serializer/SimGeo/__init__.pyi +0 -54
  37. PySimultan2/typings/SIMULTAN/Serializer/TXDXF/__init__.pyi +0 -46
  38. PySimultan2/typings/SIMULTAN/Serializer/XMI/__init__.pyi +0 -22
  39. PySimultan2/typings/SIMULTAN/Serializer/__init__.pyi +0 -32
  40. PySimultan2/typings/SIMULTAN/Utils/BackgroundWork/__init__.pyi +0 -43
  41. PySimultan2/typings/SIMULTAN/Utils/Collections/__init__.pyi +0 -216
  42. PySimultan2/typings/SIMULTAN/Utils/ElevationProvider/__init__.pyi +0 -66
  43. PySimultan2/typings/SIMULTAN/Utils/Files/__init__.pyi +0 -48
  44. PySimultan2/typings/SIMULTAN/Utils/Randomize/__init__.pyi +0 -11
  45. PySimultan2/typings/SIMULTAN/Utils/Streams/__init__.pyi +0 -59
  46. PySimultan2/typings/SIMULTAN/Utils/UndoRedo/__init__.pyi +0 -133
  47. PySimultan2/typings/SIMULTAN/Utils/__init__.pyi +0 -570
  48. PySimultan2/typings/System/Buffers/Binary/__init__.pyi +0 -248
  49. PySimultan2/typings/System/Buffers/Text/__init__.pyi +0 -91
  50. PySimultan2/typings/System/Buffers/__init__.pyi +0 -192
  51. PySimultan2/typings/System/CodeDom/Compiler/__init__.pyi +0 -137
  52. PySimultan2/typings/System/Collections/Concurrent/__init__.pyi +0 -47
  53. PySimultan2/typings/System/Collections/Generic/__init__.pyi +0 -1293
  54. PySimultan2/typings/System/Collections/ObjectModel/__init__.pyi +0 -166
  55. PySimultan2/typings/System/Collections/Specialized/__init__.pyi +0 -82
  56. PySimultan2/typings/System/Collections/__init__.pyi +0 -403
  57. PySimultan2/typings/System/ComponentModel/__init__.pyi +0 -582
  58. PySimultan2/typings/System/Configuration/Assemblies/__init__.pyi +0 -30
  59. PySimultan2/typings/System/Diagnostics/CodeAnalysis/__init__.pyi +0 -315
  60. PySimultan2/typings/System/Diagnostics/Contracts/__init__.pyi +0 -297
  61. PySimultan2/typings/System/Diagnostics/SymbolStore/__init__.pyi +0 -9
  62. PySimultan2/typings/System/Diagnostics/Tracing/__init__.pyi +0 -641
  63. PySimultan2/typings/System/Diagnostics/__init__.pyi +0 -1101
  64. PySimultan2/typings/System/Globalization/__init__.pyi +0 -1675
  65. PySimultan2/typings/System/IO/Enumeration/__init__.pyi +0 -125
  66. PySimultan2/typings/System/IO/__init__.pyi +0 -2747
  67. PySimultan2/typings/System/Linq/Expressions/__init__.pyi +0 -1815
  68. PySimultan2/typings/System/Net/__init__.pyi +0 -81
  69. PySimultan2/typings/System/Numerics/__init__.pyi +0 -2853
  70. PySimultan2/typings/System/Reflection/Emit/__init__.pyi +0 -1945
  71. PySimultan2/typings/System/Reflection/Metadata/__init__.pyi +0 -24
  72. PySimultan2/typings/System/Reflection/__init__.pyi +0 -2724
  73. PySimultan2/typings/System/Resources/__init__.pyi +0 -205
  74. PySimultan2/typings/System/Runtime/CompilerServices/__init__.pyi +0 -1926
  75. PySimultan2/typings/System/Runtime/ConstrainedExecution/__init__.pyi +0 -49
  76. PySimultan2/typings/System/Runtime/ExceptionServices/__init__.pyi +0 -34
  77. PySimultan2/typings/System/Runtime/InteropServices/ComTypes/__init__.pyi +0 -758
  78. PySimultan2/typings/System/Runtime/InteropServices/Marshalling/__init__.pyi +0 -461
  79. PySimultan2/typings/System/Runtime/InteropServices/ObjectiveC/__init__.pyi +0 -48
  80. PySimultan2/typings/System/Runtime/InteropServices/__init__.pyi +0 -2632
  81. PySimultan2/typings/System/Runtime/Intrinsics/Arm/__init__.pyi +0 -4757
  82. PySimultan2/typings/System/Runtime/Intrinsics/Wasm/__init__.pyi +0 -844
  83. PySimultan2/typings/System/Runtime/Intrinsics/X86/__init__.pyi +0 -5642
  84. PySimultan2/typings/System/Runtime/Intrinsics/__init__.pyi +0 -4504
  85. PySimultan2/typings/System/Runtime/Loader/__init__.pyi +0 -63
  86. PySimultan2/typings/System/Runtime/Remoting/__init__.pyi +0 -7
  87. PySimultan2/typings/System/Runtime/Serialization/__init__.pyi +0 -269
  88. PySimultan2/typings/System/Runtime/Versioning/__init__.pyi +0 -200
  89. PySimultan2/typings/System/Runtime/__init__.pyi +0 -141
  90. PySimultan2/typings/System/Security/Cryptography/__init__.pyi +0 -39
  91. PySimultan2/typings/System/Security/Permissions/__init__.pyi +0 -163
  92. PySimultan2/typings/System/Security/Principal/__init__.pyi +0 -45
  93. PySimultan2/typings/System/Security/__init__.pyi +0 -347
  94. PySimultan2/typings/System/Text/Unicode/__init__.pyi +0 -62
  95. PySimultan2/typings/System/Text/__init__.pyi +0 -1590
  96. PySimultan2/typings/System/Threading/Tasks/Sources/__init__.pyi +0 -76
  97. PySimultan2/typings/System/Threading/Tasks/__init__.pyi +0 -1403
  98. PySimultan2/typings/System/Threading/__init__.pyi +0 -1788
  99. PySimultan2/typings/System/Xml/Schema/__init__.pyi +0 -1255
  100. PySimultan2/typings/System/Xml/Serialization/__init__.pyi +0 -16
  101. PySimultan2/typings/System/Xml/XPath/__init__.pyi +0 -474
  102. PySimultan2/typings/System/Xml/__init__.pyi +0 -2410
  103. PySimultan2/typings/System/__init__.pyi +0 -17821
  104. pysimultan-0.6.0.1.dist-info/RECORD +0 -174
  105. {pysimultan-0.6.0.1.dist-info → pysimultan-0.6.0.2.dist-info}/WHEEL +0 -0
  106. {pysimultan-0.6.0.1.dist-info → pysimultan-0.6.0.2.dist-info}/licenses/LICENSE.txt +0 -0
@@ -1,1403 +0,0 @@
1
- import typing, abc
2
- from System import IDisposable, IAsyncResult, Action, Action_1, AggregateException, Func_2, Func_3, Action_2, TimeSpan, TimeProvider, Exception, Func_1, Array_1, IAsyncDisposable, OperationCanceledException, AsyncCallback, Func_4, Func_5, Func_6, EventArgs, IEquatable_1
3
- from System.Threading import CancellationToken
4
- from System.Runtime.CompilerServices import TaskAwaiter, YieldAwaitable, ConfiguredTaskAwaitable, TaskAwaiter_1, ConfiguredTaskAwaitable_1, ConfiguredCancelableAsyncEnumerable_1, ConfiguredAsyncDisposable, ConfiguredValueTaskAwaitable, ValueTaskAwaiter, ConfiguredValueTaskAwaitable_1, ValueTaskAwaiter_1
5
- from System.Collections.Generic import IEnumerable_1, IAsyncEnumerable_1
6
- from System.Collections import IDictionary
7
- from System.Reflection import MethodBase
8
- from System.Threading.Tasks.Sources import IValueTaskSource, IValueTaskSource_1
9
-
10
- class ConcurrentExclusiveSchedulerPair:
11
- @typing.overload
12
- def __init__(self) -> None: ...
13
- @typing.overload
14
- def __init__(self, taskScheduler: TaskScheduler) -> None: ...
15
- @typing.overload
16
- def __init__(self, taskScheduler: TaskScheduler, maxConcurrencyLevel: int) -> None: ...
17
- @typing.overload
18
- def __init__(self, taskScheduler: TaskScheduler, maxConcurrencyLevel: int, maxItemsPerTask: int) -> None: ...
19
- @property
20
- def Completion(self) -> Task: ...
21
- @property
22
- def ConcurrentScheduler(self) -> TaskScheduler: ...
23
- @property
24
- def ExclusiveScheduler(self) -> TaskScheduler: ...
25
- def Complete(self) -> None: ...
26
-
27
-
28
- class ConfigureAwaitOptions(typing.SupportsInt):
29
- @typing.overload
30
- def __init__(self, value : int) -> None: ...
31
- @typing.overload
32
- def __init__(self, value : int, force_if_true: bool) -> None: ...
33
- def __int__(self) -> int: ...
34
-
35
- # Values:
36
- None_ : ConfigureAwaitOptions # 0
37
- ContinueOnCapturedContext : ConfigureAwaitOptions # 1
38
- SuppressThrowing : ConfigureAwaitOptions # 2
39
- ForceYielding : ConfigureAwaitOptions # 4
40
-
41
-
42
- class Task_GenericClasses(abc.ABCMeta):
43
- Generic_Task_GenericClasses_Task_1_TResult = typing.TypeVar('Generic_Task_GenericClasses_Task_1_TResult')
44
- def __getitem__(self, types : typing.Type[Generic_Task_GenericClasses_Task_1_TResult]) -> typing.Type[Task_1[Generic_Task_GenericClasses_Task_1_TResult]]: ...
45
-
46
- class Task(Task_0, metaclass =Task_GenericClasses): ...
47
-
48
- class Task_0(IDisposable, IAsyncResult):
49
- @typing.overload
50
- def __init__(self, action: Action) -> None: ...
51
- @typing.overload
52
- def __init__(self, action: Action, cancellationToken: CancellationToken) -> None: ...
53
- @typing.overload
54
- def __init__(self, action: Action, cancellationToken: CancellationToken, creationOptions: TaskCreationOptions) -> None: ...
55
- @typing.overload
56
- def __init__(self, action: Action, creationOptions: TaskCreationOptions) -> None: ...
57
- @typing.overload
58
- def __init__(self, action: Action_1[typing.Any], state: typing.Any) -> None: ...
59
- @typing.overload
60
- def __init__(self, action: Action_1[typing.Any], state: typing.Any, cancellationToken: CancellationToken) -> None: ...
61
- @typing.overload
62
- def __init__(self, action: Action_1[typing.Any], state: typing.Any, cancellationToken: CancellationToken, creationOptions: TaskCreationOptions) -> None: ...
63
- @typing.overload
64
- def __init__(self, action: Action_1[typing.Any], state: typing.Any, creationOptions: TaskCreationOptions) -> None: ...
65
- @property
66
- def AsyncState(self) -> typing.Any: ...
67
- @classmethod
68
- @property
69
- def CompletedTask(cls) -> Task: ...
70
- @property
71
- def CreationOptions(self) -> TaskCreationOptions: ...
72
- @classmethod
73
- @property
74
- def CurrentId(cls) -> typing.Optional[int]: ...
75
- @property
76
- def Exception(self) -> AggregateException: ...
77
- @classmethod
78
- @property
79
- def Factory(cls) -> TaskFactory: ...
80
- @property
81
- def Id(self) -> int: ...
82
- @property
83
- def IsCanceled(self) -> bool: ...
84
- @property
85
- def IsCompleted(self) -> bool: ...
86
- @property
87
- def IsCompletedSuccessfully(self) -> bool: ...
88
- @property
89
- def IsFaulted(self) -> bool: ...
90
- @property
91
- def Status(self) -> TaskStatus: ...
92
- def Dispose(self) -> None: ...
93
- def GetAwaiter(self) -> TaskAwaiter: ...
94
- @staticmethod
95
- def Yield() -> YieldAwaitable: ...
96
- # Skipped ConfigureAwait due to it being static, abstract and generic.
97
-
98
- ConfigureAwait : ConfigureAwait_MethodGroup
99
- class ConfigureAwait_MethodGroup:
100
- @typing.overload
101
- def __call__(self, options: ConfigureAwaitOptions) -> ConfiguredTaskAwaitable:...
102
- @typing.overload
103
- def __call__(self, continueOnCapturedContext: bool) -> ConfiguredTaskAwaitable:...
104
-
105
- # Skipped ContinueWith due to it being static, abstract and generic.
106
-
107
- ContinueWith : ContinueWith_MethodGroup
108
- class ContinueWith_MethodGroup:
109
- def __getitem__(self, t:typing.Type[ContinueWith_1_T1]) -> ContinueWith_1[ContinueWith_1_T1]: ...
110
-
111
- ContinueWith_1_T1 = typing.TypeVar('ContinueWith_1_T1')
112
- class ContinueWith_1(typing.Generic[ContinueWith_1_T1]):
113
- ContinueWith_1_TResult = Task_0.ContinueWith_MethodGroup.ContinueWith_1_T1
114
- @typing.overload
115
- def __call__(self, continuationFunction: Func_2[Task, ContinueWith_1_TResult]) -> Task_1[ContinueWith_1_TResult]:...
116
- @typing.overload
117
- def __call__(self, continuationFunction: Func_2[Task, ContinueWith_1_TResult], continuationOptions: TaskContinuationOptions) -> Task_1[ContinueWith_1_TResult]:...
118
- @typing.overload
119
- def __call__(self, continuationFunction: Func_2[Task, ContinueWith_1_TResult], cancellationToken: CancellationToken) -> Task_1[ContinueWith_1_TResult]:...
120
- @typing.overload
121
- def __call__(self, continuationFunction: Func_2[Task, ContinueWith_1_TResult], scheduler: TaskScheduler) -> Task_1[ContinueWith_1_TResult]:...
122
- @typing.overload
123
- def __call__(self, continuationFunction: Func_3[Task, typing.Any, ContinueWith_1_TResult], state: typing.Any) -> Task_1[ContinueWith_1_TResult]:...
124
- @typing.overload
125
- def __call__(self, continuationFunction: Func_3[Task, typing.Any, ContinueWith_1_TResult], state: typing.Any, continuationOptions: TaskContinuationOptions) -> Task_1[ContinueWith_1_TResult]:...
126
- @typing.overload
127
- def __call__(self, continuationFunction: Func_3[Task, typing.Any, ContinueWith_1_TResult], state: typing.Any, cancellationToken: CancellationToken) -> Task_1[ContinueWith_1_TResult]:...
128
- @typing.overload
129
- def __call__(self, continuationFunction: Func_3[Task, typing.Any, ContinueWith_1_TResult], state: typing.Any, scheduler: TaskScheduler) -> Task_1[ContinueWith_1_TResult]:...
130
- @typing.overload
131
- def __call__(self, continuationFunction: Func_2[Task, ContinueWith_1_TResult], cancellationToken: CancellationToken, continuationOptions: TaskContinuationOptions, scheduler: TaskScheduler) -> Task_1[ContinueWith_1_TResult]:...
132
- @typing.overload
133
- def __call__(self, continuationFunction: Func_3[Task, typing.Any, ContinueWith_1_TResult], state: typing.Any, cancellationToken: CancellationToken, continuationOptions: TaskContinuationOptions, scheduler: TaskScheduler) -> Task_1[ContinueWith_1_TResult]:...
134
-
135
- @typing.overload
136
- def __call__(self, continuationAction: Action_1[Task]) -> Task:...
137
- @typing.overload
138
- def __call__(self, continuationAction: Action_1[Task], continuationOptions: TaskContinuationOptions) -> Task:...
139
- @typing.overload
140
- def __call__(self, continuationAction: Action_1[Task], cancellationToken: CancellationToken) -> Task:...
141
- @typing.overload
142
- def __call__(self, continuationAction: Action_1[Task], scheduler: TaskScheduler) -> Task:...
143
- @typing.overload
144
- def __call__(self, continuationAction: Action_2[Task, typing.Any], state: typing.Any) -> Task:...
145
- @typing.overload
146
- def __call__(self, continuationAction: Action_2[Task, typing.Any], state: typing.Any, continuationOptions: TaskContinuationOptions) -> Task:...
147
- @typing.overload
148
- def __call__(self, continuationAction: Action_2[Task, typing.Any], state: typing.Any, cancellationToken: CancellationToken) -> Task:...
149
- @typing.overload
150
- def __call__(self, continuationAction: Action_2[Task, typing.Any], state: typing.Any, scheduler: TaskScheduler) -> Task:...
151
- @typing.overload
152
- def __call__(self, continuationAction: Action_1[Task], cancellationToken: CancellationToken, continuationOptions: TaskContinuationOptions, scheduler: TaskScheduler) -> Task:...
153
- @typing.overload
154
- def __call__(self, continuationAction: Action_2[Task, typing.Any], state: typing.Any, cancellationToken: CancellationToken, continuationOptions: TaskContinuationOptions, scheduler: TaskScheduler) -> Task:...
155
-
156
- # Skipped Delay due to it being static, abstract and generic.
157
-
158
- Delay : Delay_MethodGroup
159
- class Delay_MethodGroup:
160
- @typing.overload
161
- def __call__(self, millisecondsDelay: int) -> Task:...
162
- @typing.overload
163
- def __call__(self, delay: TimeSpan) -> Task:...
164
- @typing.overload
165
- def __call__(self, millisecondsDelay: int, cancellationToken: CancellationToken) -> Task:...
166
- @typing.overload
167
- def __call__(self, delay: TimeSpan, cancellationToken: CancellationToken) -> Task:...
168
- @typing.overload
169
- def __call__(self, delay: TimeSpan, timeProvider: TimeProvider) -> Task:...
170
- @typing.overload
171
- def __call__(self, delay: TimeSpan, timeProvider: TimeProvider, cancellationToken: CancellationToken) -> Task:...
172
-
173
- # Skipped FromCanceled due to it being static, abstract and generic.
174
-
175
- FromCanceled : FromCanceled_MethodGroup
176
- class FromCanceled_MethodGroup:
177
- def __getitem__(self, t:typing.Type[FromCanceled_1_T1]) -> FromCanceled_1[FromCanceled_1_T1]: ...
178
-
179
- FromCanceled_1_T1 = typing.TypeVar('FromCanceled_1_T1')
180
- class FromCanceled_1(typing.Generic[FromCanceled_1_T1]):
181
- FromCanceled_1_TResult = Task_0.FromCanceled_MethodGroup.FromCanceled_1_T1
182
- def __call__(self, cancellationToken: CancellationToken) -> Task_1[FromCanceled_1_TResult]:...
183
-
184
- def __call__(self, cancellationToken: CancellationToken) -> Task:...
185
-
186
- # Skipped FromException due to it being static, abstract and generic.
187
-
188
- FromException : FromException_MethodGroup
189
- class FromException_MethodGroup:
190
- def __getitem__(self, t:typing.Type[FromException_1_T1]) -> FromException_1[FromException_1_T1]: ...
191
-
192
- FromException_1_T1 = typing.TypeVar('FromException_1_T1')
193
- class FromException_1(typing.Generic[FromException_1_T1]):
194
- FromException_1_TResult = Task_0.FromException_MethodGroup.FromException_1_T1
195
- def __call__(self, exception: Exception) -> Task_1[FromException_1_TResult]:...
196
-
197
- def __call__(self, exception: Exception) -> Task:...
198
-
199
- # Skipped FromResult due to it being static, abstract and generic.
200
-
201
- FromResult : FromResult_MethodGroup
202
- class FromResult_MethodGroup:
203
- def __getitem__(self, t:typing.Type[FromResult_1_T1]) -> FromResult_1[FromResult_1_T1]: ...
204
-
205
- FromResult_1_T1 = typing.TypeVar('FromResult_1_T1')
206
- class FromResult_1(typing.Generic[FromResult_1_T1]):
207
- FromResult_1_TResult = Task_0.FromResult_MethodGroup.FromResult_1_T1
208
- def __call__(self, result: FromResult_1_TResult) -> Task_1[FromResult_1_TResult]:...
209
-
210
-
211
- # Skipped Run due to it being static, abstract and generic.
212
-
213
- Run : Run_MethodGroup
214
- class Run_MethodGroup:
215
- def __getitem__(self, t:typing.Type[Run_1_T1]) -> Run_1[Run_1_T1]: ...
216
-
217
- Run_1_T1 = typing.TypeVar('Run_1_T1')
218
- class Run_1(typing.Generic[Run_1_T1]):
219
- Run_1_TResult = Task_0.Run_MethodGroup.Run_1_T1
220
- @typing.overload
221
- def __call__(self, function: Func_1[Task_1[Run_1_TResult]]) -> Task_1[Run_1_TResult]:...
222
- @typing.overload
223
- def __call__(self, function: Func_1[Run_1_TResult]) -> Task_1[Run_1_TResult]:...
224
- @typing.overload
225
- def __call__(self, function: Func_1[Task_1[Run_1_TResult]], cancellationToken: CancellationToken) -> Task_1[Run_1_TResult]:...
226
- @typing.overload
227
- def __call__(self, function: Func_1[Run_1_TResult], cancellationToken: CancellationToken) -> Task_1[Run_1_TResult]:...
228
-
229
- @typing.overload
230
- def __call__(self, function: Func_1[Task]) -> Task:...
231
- @typing.overload
232
- def __call__(self, action: Action) -> Task:...
233
- @typing.overload
234
- def __call__(self, function: Func_1[Task], cancellationToken: CancellationToken) -> Task:...
235
- @typing.overload
236
- def __call__(self, action: Action, cancellationToken: CancellationToken) -> Task:...
237
-
238
- # Skipped RunSynchronously due to it being static, abstract and generic.
239
-
240
- RunSynchronously : RunSynchronously_MethodGroup
241
- class RunSynchronously_MethodGroup:
242
- @typing.overload
243
- def __call__(self) -> None:...
244
- @typing.overload
245
- def __call__(self, scheduler: TaskScheduler) -> None:...
246
-
247
- # Skipped Start due to it being static, abstract and generic.
248
-
249
- Start : Start_MethodGroup
250
- class Start_MethodGroup:
251
- @typing.overload
252
- def __call__(self) -> None:...
253
- @typing.overload
254
- def __call__(self, scheduler: TaskScheduler) -> None:...
255
-
256
- # Skipped Wait due to it being static, abstract and generic.
257
-
258
- Wait : Wait_MethodGroup
259
- class Wait_MethodGroup:
260
- @typing.overload
261
- def __call__(self) -> None:...
262
- @typing.overload
263
- def __call__(self, millisecondsTimeout: int) -> bool:...
264
- @typing.overload
265
- def __call__(self, cancellationToken: CancellationToken) -> None:...
266
- @typing.overload
267
- def __call__(self, timeout: TimeSpan) -> bool:...
268
- @typing.overload
269
- def __call__(self, millisecondsTimeout: int, cancellationToken: CancellationToken) -> bool:...
270
- @typing.overload
271
- def __call__(self, timeout: TimeSpan, cancellationToken: CancellationToken) -> bool:...
272
-
273
- # Skipped WaitAll due to it being static, abstract and generic.
274
-
275
- WaitAll : WaitAll_MethodGroup
276
- class WaitAll_MethodGroup:
277
- @typing.overload
278
- def __call__(self, tasks: Array_1[Task]) -> None:...
279
- @typing.overload
280
- def __call__(self, tasks: Array_1[Task], millisecondsTimeout: int) -> bool:...
281
- @typing.overload
282
- def __call__(self, tasks: Array_1[Task], cancellationToken: CancellationToken) -> None:...
283
- @typing.overload
284
- def __call__(self, tasks: Array_1[Task], timeout: TimeSpan) -> bool:...
285
- @typing.overload
286
- def __call__(self, tasks: Array_1[Task], millisecondsTimeout: int, cancellationToken: CancellationToken) -> bool:...
287
-
288
- # Skipped WaitAny due to it being static, abstract and generic.
289
-
290
- WaitAny : WaitAny_MethodGroup
291
- class WaitAny_MethodGroup:
292
- @typing.overload
293
- def __call__(self, tasks: Array_1[Task]) -> int:...
294
- @typing.overload
295
- def __call__(self, tasks: Array_1[Task], millisecondsTimeout: int) -> int:...
296
- @typing.overload
297
- def __call__(self, tasks: Array_1[Task], cancellationToken: CancellationToken) -> int:...
298
- @typing.overload
299
- def __call__(self, tasks: Array_1[Task], timeout: TimeSpan) -> int:...
300
- @typing.overload
301
- def __call__(self, tasks: Array_1[Task], millisecondsTimeout: int, cancellationToken: CancellationToken) -> int:...
302
-
303
- # Skipped WaitAsync due to it being static, abstract and generic.
304
-
305
- WaitAsync : WaitAsync_MethodGroup
306
- class WaitAsync_MethodGroup:
307
- @typing.overload
308
- def __call__(self, cancellationToken: CancellationToken) -> Task:...
309
- @typing.overload
310
- def __call__(self, timeout: TimeSpan) -> Task:...
311
- @typing.overload
312
- def __call__(self, timeout: TimeSpan, cancellationToken: CancellationToken) -> Task:...
313
- @typing.overload
314
- def __call__(self, timeout: TimeSpan, timeProvider: TimeProvider) -> Task:...
315
- @typing.overload
316
- def __call__(self, timeout: TimeSpan, timeProvider: TimeProvider, cancellationToken: CancellationToken) -> Task:...
317
-
318
- # Skipped WhenAll due to it being static, abstract and generic.
319
-
320
- WhenAll : WhenAll_MethodGroup
321
- class WhenAll_MethodGroup:
322
- def __getitem__(self, t:typing.Type[WhenAll_1_T1]) -> WhenAll_1[WhenAll_1_T1]: ...
323
-
324
- WhenAll_1_T1 = typing.TypeVar('WhenAll_1_T1')
325
- class WhenAll_1(typing.Generic[WhenAll_1_T1]):
326
- WhenAll_1_TResult = Task_0.WhenAll_MethodGroup.WhenAll_1_T1
327
- @typing.overload
328
- def __call__(self, tasks: Array_1[Task_1[WhenAll_1_TResult]]) -> Task_1[Array_1[WhenAll_1_TResult]]:...
329
- @typing.overload
330
- def __call__(self, tasks: IEnumerable_1[Task_1[WhenAll_1_TResult]]) -> Task_1[Array_1[WhenAll_1_TResult]]:...
331
-
332
- @typing.overload
333
- def __call__(self, tasks: Array_1[Task]) -> Task:...
334
- @typing.overload
335
- def __call__(self, tasks: IEnumerable_1[Task]) -> Task:...
336
-
337
- # Skipped WhenAny due to it being static, abstract and generic.
338
-
339
- WhenAny : WhenAny_MethodGroup
340
- class WhenAny_MethodGroup:
341
- def __getitem__(self, t:typing.Type[WhenAny_1_T1]) -> WhenAny_1[WhenAny_1_T1]: ...
342
-
343
- WhenAny_1_T1 = typing.TypeVar('WhenAny_1_T1')
344
- class WhenAny_1(typing.Generic[WhenAny_1_T1]):
345
- WhenAny_1_TResult = Task_0.WhenAny_MethodGroup.WhenAny_1_T1
346
- @typing.overload
347
- def __call__(self, tasks: Array_1[Task_1[WhenAny_1_TResult]]) -> Task_1[Task_1[WhenAny_1_TResult]]:...
348
- @typing.overload
349
- def __call__(self, tasks: IEnumerable_1[Task_1[WhenAny_1_TResult]]) -> Task_1[Task_1[WhenAny_1_TResult]]:...
350
- @typing.overload
351
- def __call__(self, task1: Task_1[WhenAny_1_TResult], task2: Task_1[WhenAny_1_TResult]) -> Task_1[Task_1[WhenAny_1_TResult]]:...
352
-
353
- @typing.overload
354
- def __call__(self, tasks: Array_1[Task]) -> Task_1[Task]:...
355
- @typing.overload
356
- def __call__(self, tasks: IEnumerable_1[Task]) -> Task_1[Task]:...
357
- @typing.overload
358
- def __call__(self, task1: Task, task2: Task) -> Task_1[Task]:...
359
-
360
-
361
-
362
- Task_1_TResult = typing.TypeVar('Task_1_TResult')
363
- class Task_1(typing.Generic[Task_1_TResult], Task_0):
364
- @typing.overload
365
- def __init__(self, function: Func_1[Task_1_TResult]) -> None: ...
366
- @typing.overload
367
- def __init__(self, function: Func_1[Task_1_TResult], cancellationToken: CancellationToken) -> None: ...
368
- @typing.overload
369
- def __init__(self, function: Func_1[Task_1_TResult], cancellationToken: CancellationToken, creationOptions: TaskCreationOptions) -> None: ...
370
- @typing.overload
371
- def __init__(self, function: Func_1[Task_1_TResult], creationOptions: TaskCreationOptions) -> None: ...
372
- @typing.overload
373
- def __init__(self, function: Func_2[typing.Any, Task_1_TResult], state: typing.Any) -> None: ...
374
- @typing.overload
375
- def __init__(self, function: Func_2[typing.Any, Task_1_TResult], state: typing.Any, cancellationToken: CancellationToken) -> None: ...
376
- @typing.overload
377
- def __init__(self, function: Func_2[typing.Any, Task_1_TResult], state: typing.Any, cancellationToken: CancellationToken, creationOptions: TaskCreationOptions) -> None: ...
378
- @typing.overload
379
- def __init__(self, function: Func_2[typing.Any, Task_1_TResult], state: typing.Any, creationOptions: TaskCreationOptions) -> None: ...
380
- @property
381
- def AsyncState(self) -> typing.Any: ...
382
- @property
383
- def CreationOptions(self) -> TaskCreationOptions: ...
384
- @property
385
- def Exception(self) -> AggregateException: ...
386
- @classmethod
387
- @property
388
- def Factory(cls) -> TaskFactory_1[Task_1_TResult]: ...
389
- @property
390
- def Id(self) -> int: ...
391
- @property
392
- def IsCanceled(self) -> bool: ...
393
- @property
394
- def IsCompleted(self) -> bool: ...
395
- @property
396
- def IsCompletedSuccessfully(self) -> bool: ...
397
- @property
398
- def IsFaulted(self) -> bool: ...
399
- @property
400
- def Result(self) -> Task_1_TResult: ...
401
- @property
402
- def Status(self) -> TaskStatus: ...
403
- def GetAwaiter(self) -> TaskAwaiter_1[Task_1_TResult]: ...
404
- # Skipped ConfigureAwait due to it being static, abstract and generic.
405
-
406
- ConfigureAwait : ConfigureAwait_MethodGroup[Task_1_TResult]
407
- ConfigureAwait_MethodGroup_Task_1_TResult = typing.TypeVar('ConfigureAwait_MethodGroup_Task_1_TResult')
408
- class ConfigureAwait_MethodGroup(typing.Generic[ConfigureAwait_MethodGroup_Task_1_TResult]):
409
- ConfigureAwait_MethodGroup_Task_1_TResult = Task_1.ConfigureAwait_MethodGroup_Task_1_TResult
410
- @typing.overload
411
- def __call__(self, options: ConfigureAwaitOptions) -> ConfiguredTaskAwaitable_1[ConfigureAwait_MethodGroup_Task_1_TResult]:...
412
- @typing.overload
413
- def __call__(self, continueOnCapturedContext: bool) -> ConfiguredTaskAwaitable_1[ConfigureAwait_MethodGroup_Task_1_TResult]:...
414
-
415
- # Skipped ContinueWith due to it being static, abstract and generic.
416
-
417
- ContinueWith : ContinueWith_MethodGroup[Task_1_TResult]
418
- ContinueWith_MethodGroup_Task_1_TResult = typing.TypeVar('ContinueWith_MethodGroup_Task_1_TResult')
419
- class ContinueWith_MethodGroup(typing.Generic[ContinueWith_MethodGroup_Task_1_TResult]):
420
- ContinueWith_MethodGroup_Task_1_TResult = Task_1.ContinueWith_MethodGroup_Task_1_TResult
421
- def __getitem__(self, t:typing.Type[ContinueWith_1_T1]) -> ContinueWith_1[ContinueWith_MethodGroup_Task_1_TResult, ContinueWith_1_T1]: ...
422
-
423
- ContinueWith_1_Task_1_TResult = typing.TypeVar('ContinueWith_1_Task_1_TResult')
424
- ContinueWith_1_T1 = typing.TypeVar('ContinueWith_1_T1')
425
- class ContinueWith_1(typing.Generic[ContinueWith_1_Task_1_TResult, ContinueWith_1_T1]):
426
- ContinueWith_1_Task_1_TResult = Task_1.ContinueWith_MethodGroup.ContinueWith_1_Task_1_TResult
427
- ContinueWith_1_TNewResult = Task_1.ContinueWith_MethodGroup.ContinueWith_1_T1
428
- @typing.overload
429
- def __call__(self, continuationFunction: Func_2[Task_1[ContinueWith_1_Task_1_TResult], ContinueWith_1_TNewResult]) -> Task_1[ContinueWith_1_TNewResult]:...
430
- @typing.overload
431
- def __call__(self, continuationFunction: Func_2[Task_1[ContinueWith_1_Task_1_TResult], ContinueWith_1_TNewResult], continuationOptions: TaskContinuationOptions) -> Task_1[ContinueWith_1_TNewResult]:...
432
- @typing.overload
433
- def __call__(self, continuationFunction: Func_2[Task_1[ContinueWith_1_Task_1_TResult], ContinueWith_1_TNewResult], cancellationToken: CancellationToken) -> Task_1[ContinueWith_1_TNewResult]:...
434
- @typing.overload
435
- def __call__(self, continuationFunction: Func_2[Task_1[ContinueWith_1_Task_1_TResult], ContinueWith_1_TNewResult], scheduler: TaskScheduler) -> Task_1[ContinueWith_1_TNewResult]:...
436
- @typing.overload
437
- def __call__(self, continuationFunction: Func_3[Task_1[ContinueWith_1_Task_1_TResult], typing.Any, ContinueWith_1_TNewResult], state: typing.Any) -> Task_1[ContinueWith_1_TNewResult]:...
438
- @typing.overload
439
- def __call__(self, continuationFunction: Func_3[Task_1[ContinueWith_1_Task_1_TResult], typing.Any, ContinueWith_1_TNewResult], state: typing.Any, continuationOptions: TaskContinuationOptions) -> Task_1[ContinueWith_1_TNewResult]:...
440
- @typing.overload
441
- def __call__(self, continuationFunction: Func_3[Task_1[ContinueWith_1_Task_1_TResult], typing.Any, ContinueWith_1_TNewResult], state: typing.Any, cancellationToken: CancellationToken) -> Task_1[ContinueWith_1_TNewResult]:...
442
- @typing.overload
443
- def __call__(self, continuationFunction: Func_3[Task_1[ContinueWith_1_Task_1_TResult], typing.Any, ContinueWith_1_TNewResult], state: typing.Any, scheduler: TaskScheduler) -> Task_1[ContinueWith_1_TNewResult]:...
444
- @typing.overload
445
- def __call__(self, continuationFunction: Func_2[Task_1[ContinueWith_1_Task_1_TResult], ContinueWith_1_TNewResult], cancellationToken: CancellationToken, continuationOptions: TaskContinuationOptions, scheduler: TaskScheduler) -> Task_1[ContinueWith_1_TNewResult]:...
446
- @typing.overload
447
- def __call__(self, continuationFunction: Func_3[Task_1[ContinueWith_1_Task_1_TResult], typing.Any, ContinueWith_1_TNewResult], state: typing.Any, cancellationToken: CancellationToken, continuationOptions: TaskContinuationOptions, scheduler: TaskScheduler) -> Task_1[ContinueWith_1_TNewResult]:...
448
-
449
- @typing.overload
450
- def __call__(self, continuationAction: Action_1[Task_1[ContinueWith_MethodGroup_Task_1_TResult]]) -> Task:...
451
- @typing.overload
452
- def __call__(self, continuationAction: Action_1[Task_1[ContinueWith_MethodGroup_Task_1_TResult]], continuationOptions: TaskContinuationOptions) -> Task:...
453
- @typing.overload
454
- def __call__(self, continuationAction: Action_1[Task_1[ContinueWith_MethodGroup_Task_1_TResult]], cancellationToken: CancellationToken) -> Task:...
455
- @typing.overload
456
- def __call__(self, continuationAction: Action_1[Task_1[ContinueWith_MethodGroup_Task_1_TResult]], scheduler: TaskScheduler) -> Task:...
457
- @typing.overload
458
- def __call__(self, continuationAction: Action_2[Task_1[ContinueWith_MethodGroup_Task_1_TResult], typing.Any], state: typing.Any) -> Task:...
459
- @typing.overload
460
- def __call__(self, continuationAction: Action_2[Task_1[ContinueWith_MethodGroup_Task_1_TResult], typing.Any], state: typing.Any, continuationOptions: TaskContinuationOptions) -> Task:...
461
- @typing.overload
462
- def __call__(self, continuationAction: Action_2[Task_1[ContinueWith_MethodGroup_Task_1_TResult], typing.Any], state: typing.Any, cancellationToken: CancellationToken) -> Task:...
463
- @typing.overload
464
- def __call__(self, continuationAction: Action_2[Task_1[ContinueWith_MethodGroup_Task_1_TResult], typing.Any], state: typing.Any, scheduler: TaskScheduler) -> Task:...
465
- @typing.overload
466
- def __call__(self, continuationAction: Action_1[Task_1[ContinueWith_MethodGroup_Task_1_TResult]], cancellationToken: CancellationToken, continuationOptions: TaskContinuationOptions, scheduler: TaskScheduler) -> Task:...
467
- @typing.overload
468
- def __call__(self, continuationAction: Action_2[Task_1[ContinueWith_MethodGroup_Task_1_TResult], typing.Any], state: typing.Any, cancellationToken: CancellationToken, continuationOptions: TaskContinuationOptions, scheduler: TaskScheduler) -> Task:...
469
-
470
- # Skipped WaitAsync due to it being static, abstract and generic.
471
-
472
- WaitAsync : WaitAsync_MethodGroup[Task_1_TResult]
473
- WaitAsync_MethodGroup_Task_1_TResult = typing.TypeVar('WaitAsync_MethodGroup_Task_1_TResult')
474
- class WaitAsync_MethodGroup(typing.Generic[WaitAsync_MethodGroup_Task_1_TResult]):
475
- WaitAsync_MethodGroup_Task_1_TResult = Task_1.WaitAsync_MethodGroup_Task_1_TResult
476
- @typing.overload
477
- def __call__(self, cancellationToken: CancellationToken) -> Task_1[WaitAsync_MethodGroup_Task_1_TResult]:...
478
- @typing.overload
479
- def __call__(self, timeout: TimeSpan) -> Task_1[WaitAsync_MethodGroup_Task_1_TResult]:...
480
- @typing.overload
481
- def __call__(self, timeout: TimeSpan, cancellationToken: CancellationToken) -> Task_1[WaitAsync_MethodGroup_Task_1_TResult]:...
482
- @typing.overload
483
- def __call__(self, timeout: TimeSpan, timeProvider: TimeProvider) -> Task_1[WaitAsync_MethodGroup_Task_1_TResult]:...
484
- @typing.overload
485
- def __call__(self, timeout: TimeSpan, timeProvider: TimeProvider, cancellationToken: CancellationToken) -> Task_1[WaitAsync_MethodGroup_Task_1_TResult]:...
486
-
487
-
488
-
489
- class TaskAsyncEnumerableExtensions(abc.ABC):
490
- # Skipped ConfigureAwait due to it being static, abstract and generic.
491
-
492
- ConfigureAwait : ConfigureAwait_MethodGroup
493
- class ConfigureAwait_MethodGroup:
494
- def __getitem__(self, t:typing.Type[ConfigureAwait_1_T1]) -> ConfigureAwait_1[ConfigureAwait_1_T1]: ...
495
-
496
- ConfigureAwait_1_T1 = typing.TypeVar('ConfigureAwait_1_T1')
497
- class ConfigureAwait_1(typing.Generic[ConfigureAwait_1_T1]):
498
- ConfigureAwait_1_T = TaskAsyncEnumerableExtensions.ConfigureAwait_MethodGroup.ConfigureAwait_1_T1
499
- def __call__(self, source: IAsyncEnumerable_1[ConfigureAwait_1_T], continueOnCapturedContext: bool) -> ConfiguredCancelableAsyncEnumerable_1[ConfigureAwait_1_T]:...
500
-
501
- def __call__(self, source: IAsyncDisposable, continueOnCapturedContext: bool) -> ConfiguredAsyncDisposable:...
502
-
503
- # Skipped ToBlockingEnumerable due to it being static, abstract and generic.
504
-
505
- ToBlockingEnumerable : ToBlockingEnumerable_MethodGroup
506
- class ToBlockingEnumerable_MethodGroup:
507
- def __getitem__(self, t:typing.Type[ToBlockingEnumerable_1_T1]) -> ToBlockingEnumerable_1[ToBlockingEnumerable_1_T1]: ...
508
-
509
- ToBlockingEnumerable_1_T1 = typing.TypeVar('ToBlockingEnumerable_1_T1')
510
- class ToBlockingEnumerable_1(typing.Generic[ToBlockingEnumerable_1_T1]):
511
- ToBlockingEnumerable_1_T = TaskAsyncEnumerableExtensions.ToBlockingEnumerable_MethodGroup.ToBlockingEnumerable_1_T1
512
- def __call__(self, source: IAsyncEnumerable_1[ToBlockingEnumerable_1_T], cancellationToken: CancellationToken = ...) -> IEnumerable_1[ToBlockingEnumerable_1_T]:...
513
-
514
-
515
- # Skipped WithCancellation due to it being static, abstract and generic.
516
-
517
- WithCancellation : WithCancellation_MethodGroup
518
- class WithCancellation_MethodGroup:
519
- def __getitem__(self, t:typing.Type[WithCancellation_1_T1]) -> WithCancellation_1[WithCancellation_1_T1]: ...
520
-
521
- WithCancellation_1_T1 = typing.TypeVar('WithCancellation_1_T1')
522
- class WithCancellation_1(typing.Generic[WithCancellation_1_T1]):
523
- WithCancellation_1_T = TaskAsyncEnumerableExtensions.WithCancellation_MethodGroup.WithCancellation_1_T1
524
- def __call__(self, source: IAsyncEnumerable_1[WithCancellation_1_T], cancellationToken: CancellationToken) -> ConfiguredCancelableAsyncEnumerable_1[WithCancellation_1_T]:...
525
-
526
-
527
-
528
-
529
- class TaskCanceledException(OperationCanceledException):
530
- @typing.overload
531
- def __init__(self) -> None: ...
532
- @typing.overload
533
- def __init__(self, message: str) -> None: ...
534
- @typing.overload
535
- def __init__(self, message: str, innerException: Exception) -> None: ...
536
- @typing.overload
537
- def __init__(self, message: str, innerException: Exception, token: CancellationToken) -> None: ...
538
- @typing.overload
539
- def __init__(self, task: Task) -> None: ...
540
- @property
541
- def CancellationToken(self) -> CancellationToken: ...
542
- @property
543
- def Data(self) -> IDictionary: ...
544
- @property
545
- def HelpLink(self) -> str: ...
546
- @HelpLink.setter
547
- def HelpLink(self, value: str) -> str: ...
548
- @property
549
- def HResult(self) -> int: ...
550
- @HResult.setter
551
- def HResult(self, value: int) -> int: ...
552
- @property
553
- def InnerException(self) -> Exception: ...
554
- @property
555
- def Message(self) -> str: ...
556
- @property
557
- def Source(self) -> str: ...
558
- @Source.setter
559
- def Source(self, value: str) -> str: ...
560
- @property
561
- def StackTrace(self) -> str: ...
562
- @property
563
- def TargetSite(self) -> MethodBase: ...
564
- @property
565
- def Task(self) -> Task: ...
566
-
567
-
568
- class TaskCompletionSource_GenericClasses(abc.ABCMeta):
569
- Generic_TaskCompletionSource_GenericClasses_TaskCompletionSource_1_TResult = typing.TypeVar('Generic_TaskCompletionSource_GenericClasses_TaskCompletionSource_1_TResult')
570
- def __getitem__(self, types : typing.Type[Generic_TaskCompletionSource_GenericClasses_TaskCompletionSource_1_TResult]) -> typing.Type[TaskCompletionSource_1[Generic_TaskCompletionSource_GenericClasses_TaskCompletionSource_1_TResult]]: ...
571
-
572
- class TaskCompletionSource(TaskCompletionSource_0, metaclass =TaskCompletionSource_GenericClasses): ...
573
-
574
- class TaskCompletionSource_0:
575
- @typing.overload
576
- def __init__(self) -> None: ...
577
- @typing.overload
578
- def __init__(self, creationOptions: TaskCreationOptions) -> None: ...
579
- @typing.overload
580
- def __init__(self, state: typing.Any) -> None: ...
581
- @typing.overload
582
- def __init__(self, state: typing.Any, creationOptions: TaskCreationOptions) -> None: ...
583
- @property
584
- def Task(self) -> Task: ...
585
- def SetResult(self) -> None: ...
586
- def TrySetResult(self) -> bool: ...
587
- # Skipped SetCanceled due to it being static, abstract and generic.
588
-
589
- SetCanceled : SetCanceled_MethodGroup
590
- class SetCanceled_MethodGroup:
591
- @typing.overload
592
- def __call__(self) -> None:...
593
- @typing.overload
594
- def __call__(self, cancellationToken: CancellationToken) -> None:...
595
-
596
- # Skipped SetException due to it being static, abstract and generic.
597
-
598
- SetException : SetException_MethodGroup
599
- class SetException_MethodGroup:
600
- @typing.overload
601
- def __call__(self, exceptions: IEnumerable_1[Exception]) -> None:...
602
- @typing.overload
603
- def __call__(self, exception: Exception) -> None:...
604
-
605
- # Skipped TrySetCanceled due to it being static, abstract and generic.
606
-
607
- TrySetCanceled : TrySetCanceled_MethodGroup
608
- class TrySetCanceled_MethodGroup:
609
- @typing.overload
610
- def __call__(self) -> bool:...
611
- @typing.overload
612
- def __call__(self, cancellationToken: CancellationToken) -> bool:...
613
-
614
- # Skipped TrySetException due to it being static, abstract and generic.
615
-
616
- TrySetException : TrySetException_MethodGroup
617
- class TrySetException_MethodGroup:
618
- @typing.overload
619
- def __call__(self, exceptions: IEnumerable_1[Exception]) -> bool:...
620
- @typing.overload
621
- def __call__(self, exception: Exception) -> bool:...
622
-
623
-
624
-
625
- TaskCompletionSource_1_TResult = typing.TypeVar('TaskCompletionSource_1_TResult')
626
- class TaskCompletionSource_1(typing.Generic[TaskCompletionSource_1_TResult]):
627
- @typing.overload
628
- def __init__(self) -> None: ...
629
- @typing.overload
630
- def __init__(self, creationOptions: TaskCreationOptions) -> None: ...
631
- @typing.overload
632
- def __init__(self, state: typing.Any) -> None: ...
633
- @typing.overload
634
- def __init__(self, state: typing.Any, creationOptions: TaskCreationOptions) -> None: ...
635
- @property
636
- def Task(self) -> Task_1[TaskCompletionSource_1_TResult]: ...
637
- def SetResult(self, result: TaskCompletionSource_1_TResult) -> None: ...
638
- def TrySetResult(self, result: TaskCompletionSource_1_TResult) -> bool: ...
639
- # Skipped SetCanceled due to it being static, abstract and generic.
640
-
641
- SetCanceled : SetCanceled_MethodGroup[TaskCompletionSource_1_TResult]
642
- SetCanceled_MethodGroup_TaskCompletionSource_1_TResult = typing.TypeVar('SetCanceled_MethodGroup_TaskCompletionSource_1_TResult')
643
- class SetCanceled_MethodGroup(typing.Generic[SetCanceled_MethodGroup_TaskCompletionSource_1_TResult]):
644
- SetCanceled_MethodGroup_TaskCompletionSource_1_TResult = TaskCompletionSource_1.SetCanceled_MethodGroup_TaskCompletionSource_1_TResult
645
- @typing.overload
646
- def __call__(self) -> None:...
647
- @typing.overload
648
- def __call__(self, cancellationToken: CancellationToken) -> None:...
649
-
650
- # Skipped SetException due to it being static, abstract and generic.
651
-
652
- SetException : SetException_MethodGroup[TaskCompletionSource_1_TResult]
653
- SetException_MethodGroup_TaskCompletionSource_1_TResult = typing.TypeVar('SetException_MethodGroup_TaskCompletionSource_1_TResult')
654
- class SetException_MethodGroup(typing.Generic[SetException_MethodGroup_TaskCompletionSource_1_TResult]):
655
- SetException_MethodGroup_TaskCompletionSource_1_TResult = TaskCompletionSource_1.SetException_MethodGroup_TaskCompletionSource_1_TResult
656
- @typing.overload
657
- def __call__(self, exceptions: IEnumerable_1[Exception]) -> None:...
658
- @typing.overload
659
- def __call__(self, exception: Exception) -> None:...
660
-
661
- # Skipped TrySetCanceled due to it being static, abstract and generic.
662
-
663
- TrySetCanceled : TrySetCanceled_MethodGroup[TaskCompletionSource_1_TResult]
664
- TrySetCanceled_MethodGroup_TaskCompletionSource_1_TResult = typing.TypeVar('TrySetCanceled_MethodGroup_TaskCompletionSource_1_TResult')
665
- class TrySetCanceled_MethodGroup(typing.Generic[TrySetCanceled_MethodGroup_TaskCompletionSource_1_TResult]):
666
- TrySetCanceled_MethodGroup_TaskCompletionSource_1_TResult = TaskCompletionSource_1.TrySetCanceled_MethodGroup_TaskCompletionSource_1_TResult
667
- @typing.overload
668
- def __call__(self) -> bool:...
669
- @typing.overload
670
- def __call__(self, cancellationToken: CancellationToken) -> bool:...
671
-
672
- # Skipped TrySetException due to it being static, abstract and generic.
673
-
674
- TrySetException : TrySetException_MethodGroup[TaskCompletionSource_1_TResult]
675
- TrySetException_MethodGroup_TaskCompletionSource_1_TResult = typing.TypeVar('TrySetException_MethodGroup_TaskCompletionSource_1_TResult')
676
- class TrySetException_MethodGroup(typing.Generic[TrySetException_MethodGroup_TaskCompletionSource_1_TResult]):
677
- TrySetException_MethodGroup_TaskCompletionSource_1_TResult = TaskCompletionSource_1.TrySetException_MethodGroup_TaskCompletionSource_1_TResult
678
- @typing.overload
679
- def __call__(self, exceptions: IEnumerable_1[Exception]) -> bool:...
680
- @typing.overload
681
- def __call__(self, exception: Exception) -> bool:...
682
-
683
-
684
-
685
- class TaskContinuationOptions(typing.SupportsInt):
686
- @typing.overload
687
- def __init__(self, value : int) -> None: ...
688
- @typing.overload
689
- def __init__(self, value : int, force_if_true: bool) -> None: ...
690
- def __int__(self) -> int: ...
691
-
692
- # Values:
693
- None_ : TaskContinuationOptions # 0
694
- PreferFairness : TaskContinuationOptions # 1
695
- LongRunning : TaskContinuationOptions # 2
696
- AttachedToParent : TaskContinuationOptions # 4
697
- DenyChildAttach : TaskContinuationOptions # 8
698
- HideScheduler : TaskContinuationOptions # 16
699
- LazyCancellation : TaskContinuationOptions # 32
700
- RunContinuationsAsynchronously : TaskContinuationOptions # 64
701
- NotOnRanToCompletion : TaskContinuationOptions # 65536
702
- NotOnFaulted : TaskContinuationOptions # 131072
703
- OnlyOnCanceled : TaskContinuationOptions # 196608
704
- NotOnCanceled : TaskContinuationOptions # 262144
705
- OnlyOnFaulted : TaskContinuationOptions # 327680
706
- OnlyOnRanToCompletion : TaskContinuationOptions # 393216
707
- ExecuteSynchronously : TaskContinuationOptions # 524288
708
-
709
-
710
- class TaskCreationOptions(typing.SupportsInt):
711
- @typing.overload
712
- def __init__(self, value : int) -> None: ...
713
- @typing.overload
714
- def __init__(self, value : int, force_if_true: bool) -> None: ...
715
- def __int__(self) -> int: ...
716
-
717
- # Values:
718
- None_ : TaskCreationOptions # 0
719
- PreferFairness : TaskCreationOptions # 1
720
- LongRunning : TaskCreationOptions # 2
721
- AttachedToParent : TaskCreationOptions # 4
722
- DenyChildAttach : TaskCreationOptions # 8
723
- HideScheduler : TaskCreationOptions # 16
724
- RunContinuationsAsynchronously : TaskCreationOptions # 64
725
-
726
-
727
- class TaskExtensions(abc.ABC):
728
- # Skipped Unwrap due to it being static, abstract and generic.
729
-
730
- Unwrap : Unwrap_MethodGroup
731
- class Unwrap_MethodGroup:
732
- def __getitem__(self, t:typing.Type[Unwrap_1_T1]) -> Unwrap_1[Unwrap_1_T1]: ...
733
-
734
- Unwrap_1_T1 = typing.TypeVar('Unwrap_1_T1')
735
- class Unwrap_1(typing.Generic[Unwrap_1_T1]):
736
- Unwrap_1_TResult = TaskExtensions.Unwrap_MethodGroup.Unwrap_1_T1
737
- def __call__(self, task: Task_1[Task_1[Unwrap_1_TResult]]) -> Task_1[Unwrap_1_TResult]:...
738
-
739
- def __call__(self, task: Task_1[Task]) -> Task:...
740
-
741
-
742
-
743
- class TaskFactory_GenericClasses(abc.ABCMeta):
744
- Generic_TaskFactory_GenericClasses_TaskFactory_1_TResult = typing.TypeVar('Generic_TaskFactory_GenericClasses_TaskFactory_1_TResult')
745
- def __getitem__(self, types : typing.Type[Generic_TaskFactory_GenericClasses_TaskFactory_1_TResult]) -> typing.Type[TaskFactory_1[Generic_TaskFactory_GenericClasses_TaskFactory_1_TResult]]: ...
746
-
747
- class TaskFactory(TaskFactory_0, metaclass =TaskFactory_GenericClasses): ...
748
-
749
- class TaskFactory_0:
750
- @typing.overload
751
- def __init__(self) -> None: ...
752
- @typing.overload
753
- def __init__(self, cancellationToken: CancellationToken) -> None: ...
754
- @typing.overload
755
- def __init__(self, cancellationToken: CancellationToken, creationOptions: TaskCreationOptions, continuationOptions: TaskContinuationOptions, scheduler: TaskScheduler) -> None: ...
756
- @typing.overload
757
- def __init__(self, creationOptions: TaskCreationOptions, continuationOptions: TaskContinuationOptions) -> None: ...
758
- @typing.overload
759
- def __init__(self, scheduler: TaskScheduler) -> None: ...
760
- @property
761
- def CancellationToken(self) -> CancellationToken: ...
762
- @property
763
- def ContinuationOptions(self) -> TaskContinuationOptions: ...
764
- @property
765
- def CreationOptions(self) -> TaskCreationOptions: ...
766
- @property
767
- def Scheduler(self) -> TaskScheduler: ...
768
- # Skipped ContinueWhenAll due to it being static, abstract and generic.
769
-
770
- ContinueWhenAll : ContinueWhenAll_MethodGroup
771
- class ContinueWhenAll_MethodGroup:
772
- @typing.overload
773
- def __getitem__(self, t:typing.Type[ContinueWhenAll_1_T1]) -> ContinueWhenAll_1[ContinueWhenAll_1_T1]: ...
774
-
775
- ContinueWhenAll_1_T1 = typing.TypeVar('ContinueWhenAll_1_T1')
776
- class ContinueWhenAll_1(typing.Generic[ContinueWhenAll_1_T1]):
777
- ContinueWhenAll_1_TAntecedentResult = TaskFactory_0.ContinueWhenAll_MethodGroup.ContinueWhenAll_1_T1
778
- ContinueWhenAll_1_TResult = TaskFactory_0.ContinueWhenAll_MethodGroup.ContinueWhenAll_1_T1
779
- @typing.overload
780
- def __call__(self, tasks: Array_1[Task_1[ContinueWhenAll_1_TAntecedentResult]], continuationAction: Action_1[Array_1[Task_1[ContinueWhenAll_1_TAntecedentResult]]]) -> Task:...
781
- @typing.overload
782
- def __call__(self, tasks: Array_1[Task], continuationFunction: Func_2[Array_1[Task], ContinueWhenAll_1_TResult]) -> Task_1[ContinueWhenAll_1_TResult]:...
783
- @typing.overload
784
- def __call__(self, tasks: Array_1[Task_1[ContinueWhenAll_1_TAntecedentResult]], continuationAction: Action_1[Array_1[Task_1[ContinueWhenAll_1_TAntecedentResult]]], continuationOptions: TaskContinuationOptions) -> Task:...
785
- @typing.overload
786
- def __call__(self, tasks: Array_1[Task_1[ContinueWhenAll_1_TAntecedentResult]], continuationAction: Action_1[Array_1[Task_1[ContinueWhenAll_1_TAntecedentResult]]], cancellationToken: CancellationToken) -> Task:...
787
- @typing.overload
788
- def __call__(self, tasks: Array_1[Task], continuationFunction: Func_2[Array_1[Task], ContinueWhenAll_1_TResult], continuationOptions: TaskContinuationOptions) -> Task_1[ContinueWhenAll_1_TResult]:...
789
- @typing.overload
790
- def __call__(self, tasks: Array_1[Task], continuationFunction: Func_2[Array_1[Task], ContinueWhenAll_1_TResult], cancellationToken: CancellationToken) -> Task_1[ContinueWhenAll_1_TResult]:...
791
- @typing.overload
792
- def __call__(self, tasks: Array_1[Task_1[ContinueWhenAll_1_TAntecedentResult]], continuationAction: Action_1[Array_1[Task_1[ContinueWhenAll_1_TAntecedentResult]]], cancellationToken: CancellationToken, continuationOptions: TaskContinuationOptions, scheduler: TaskScheduler) -> Task:...
793
- @typing.overload
794
- def __call__(self, tasks: Array_1[Task], continuationFunction: Func_2[Array_1[Task], ContinueWhenAll_1_TResult], cancellationToken: CancellationToken, continuationOptions: TaskContinuationOptions, scheduler: TaskScheduler) -> Task_1[ContinueWhenAll_1_TResult]:...
795
-
796
- @typing.overload
797
- def __getitem__(self, t:typing.Tuple[typing.Type[ContinueWhenAll_2_T1], typing.Type[ContinueWhenAll_2_T2]]) -> ContinueWhenAll_2[ContinueWhenAll_2_T1, ContinueWhenAll_2_T2]: ...
798
-
799
- ContinueWhenAll_2_T1 = typing.TypeVar('ContinueWhenAll_2_T1')
800
- ContinueWhenAll_2_T2 = typing.TypeVar('ContinueWhenAll_2_T2')
801
- class ContinueWhenAll_2(typing.Generic[ContinueWhenAll_2_T1, ContinueWhenAll_2_T2]):
802
- ContinueWhenAll_2_TAntecedentResult = TaskFactory_0.ContinueWhenAll_MethodGroup.ContinueWhenAll_2_T1
803
- ContinueWhenAll_2_TResult = TaskFactory_0.ContinueWhenAll_MethodGroup.ContinueWhenAll_2_T2
804
- @typing.overload
805
- def __call__(self, tasks: Array_1[Task_1[ContinueWhenAll_2_TAntecedentResult]], continuationFunction: Func_2[Array_1[Task_1[ContinueWhenAll_2_TAntecedentResult]], ContinueWhenAll_2_TResult]) -> Task_1[ContinueWhenAll_2_TResult]:...
806
- @typing.overload
807
- def __call__(self, tasks: Array_1[Task_1[ContinueWhenAll_2_TAntecedentResult]], continuationFunction: Func_2[Array_1[Task_1[ContinueWhenAll_2_TAntecedentResult]], ContinueWhenAll_2_TResult], continuationOptions: TaskContinuationOptions) -> Task_1[ContinueWhenAll_2_TResult]:...
808
- @typing.overload
809
- def __call__(self, tasks: Array_1[Task_1[ContinueWhenAll_2_TAntecedentResult]], continuationFunction: Func_2[Array_1[Task_1[ContinueWhenAll_2_TAntecedentResult]], ContinueWhenAll_2_TResult], cancellationToken: CancellationToken) -> Task_1[ContinueWhenAll_2_TResult]:...
810
- @typing.overload
811
- def __call__(self, tasks: Array_1[Task_1[ContinueWhenAll_2_TAntecedentResult]], continuationFunction: Func_2[Array_1[Task_1[ContinueWhenAll_2_TAntecedentResult]], ContinueWhenAll_2_TResult], cancellationToken: CancellationToken, continuationOptions: TaskContinuationOptions, scheduler: TaskScheduler) -> Task_1[ContinueWhenAll_2_TResult]:...
812
-
813
- @typing.overload
814
- def __call__(self, tasks: Array_1[Task], continuationAction: Action_1[Array_1[Task]]) -> Task:...
815
- @typing.overload
816
- def __call__(self, tasks: Array_1[Task], continuationAction: Action_1[Array_1[Task]], continuationOptions: TaskContinuationOptions) -> Task:...
817
- @typing.overload
818
- def __call__(self, tasks: Array_1[Task], continuationAction: Action_1[Array_1[Task]], cancellationToken: CancellationToken) -> Task:...
819
- @typing.overload
820
- def __call__(self, tasks: Array_1[Task], continuationAction: Action_1[Array_1[Task]], cancellationToken: CancellationToken, continuationOptions: TaskContinuationOptions, scheduler: TaskScheduler) -> Task:...
821
-
822
- # Skipped ContinueWhenAny due to it being static, abstract and generic.
823
-
824
- ContinueWhenAny : ContinueWhenAny_MethodGroup
825
- class ContinueWhenAny_MethodGroup:
826
- @typing.overload
827
- def __getitem__(self, t:typing.Type[ContinueWhenAny_1_T1]) -> ContinueWhenAny_1[ContinueWhenAny_1_T1]: ...
828
-
829
- ContinueWhenAny_1_T1 = typing.TypeVar('ContinueWhenAny_1_T1')
830
- class ContinueWhenAny_1(typing.Generic[ContinueWhenAny_1_T1]):
831
- ContinueWhenAny_1_TAntecedentResult = TaskFactory_0.ContinueWhenAny_MethodGroup.ContinueWhenAny_1_T1
832
- ContinueWhenAny_1_TResult = TaskFactory_0.ContinueWhenAny_MethodGroup.ContinueWhenAny_1_T1
833
- @typing.overload
834
- def __call__(self, tasks: Array_1[Task_1[ContinueWhenAny_1_TAntecedentResult]], continuationAction: Action_1[Task_1[ContinueWhenAny_1_TAntecedentResult]]) -> Task:...
835
- @typing.overload
836
- def __call__(self, tasks: Array_1[Task], continuationFunction: Func_2[Task, ContinueWhenAny_1_TResult]) -> Task_1[ContinueWhenAny_1_TResult]:...
837
- @typing.overload
838
- def __call__(self, tasks: Array_1[Task_1[ContinueWhenAny_1_TAntecedentResult]], continuationAction: Action_1[Task_1[ContinueWhenAny_1_TAntecedentResult]], continuationOptions: TaskContinuationOptions) -> Task:...
839
- @typing.overload
840
- def __call__(self, tasks: Array_1[Task_1[ContinueWhenAny_1_TAntecedentResult]], continuationAction: Action_1[Task_1[ContinueWhenAny_1_TAntecedentResult]], cancellationToken: CancellationToken) -> Task:...
841
- @typing.overload
842
- def __call__(self, tasks: Array_1[Task], continuationFunction: Func_2[Task, ContinueWhenAny_1_TResult], continuationOptions: TaskContinuationOptions) -> Task_1[ContinueWhenAny_1_TResult]:...
843
- @typing.overload
844
- def __call__(self, tasks: Array_1[Task], continuationFunction: Func_2[Task, ContinueWhenAny_1_TResult], cancellationToken: CancellationToken) -> Task_1[ContinueWhenAny_1_TResult]:...
845
- @typing.overload
846
- def __call__(self, tasks: Array_1[Task_1[ContinueWhenAny_1_TAntecedentResult]], continuationAction: Action_1[Task_1[ContinueWhenAny_1_TAntecedentResult]], cancellationToken: CancellationToken, continuationOptions: TaskContinuationOptions, scheduler: TaskScheduler) -> Task:...
847
- @typing.overload
848
- def __call__(self, tasks: Array_1[Task], continuationFunction: Func_2[Task, ContinueWhenAny_1_TResult], cancellationToken: CancellationToken, continuationOptions: TaskContinuationOptions, scheduler: TaskScheduler) -> Task_1[ContinueWhenAny_1_TResult]:...
849
-
850
- @typing.overload
851
- def __getitem__(self, t:typing.Tuple[typing.Type[ContinueWhenAny_2_T1], typing.Type[ContinueWhenAny_2_T2]]) -> ContinueWhenAny_2[ContinueWhenAny_2_T1, ContinueWhenAny_2_T2]: ...
852
-
853
- ContinueWhenAny_2_T1 = typing.TypeVar('ContinueWhenAny_2_T1')
854
- ContinueWhenAny_2_T2 = typing.TypeVar('ContinueWhenAny_2_T2')
855
- class ContinueWhenAny_2(typing.Generic[ContinueWhenAny_2_T1, ContinueWhenAny_2_T2]):
856
- ContinueWhenAny_2_TAntecedentResult = TaskFactory_0.ContinueWhenAny_MethodGroup.ContinueWhenAny_2_T1
857
- ContinueWhenAny_2_TResult = TaskFactory_0.ContinueWhenAny_MethodGroup.ContinueWhenAny_2_T2
858
- @typing.overload
859
- def __call__(self, tasks: Array_1[Task_1[ContinueWhenAny_2_TAntecedentResult]], continuationFunction: Func_2[Task_1[ContinueWhenAny_2_TAntecedentResult], ContinueWhenAny_2_TResult]) -> Task_1[ContinueWhenAny_2_TResult]:...
860
- @typing.overload
861
- def __call__(self, tasks: Array_1[Task_1[ContinueWhenAny_2_TAntecedentResult]], continuationFunction: Func_2[Task_1[ContinueWhenAny_2_TAntecedentResult], ContinueWhenAny_2_TResult], continuationOptions: TaskContinuationOptions) -> Task_1[ContinueWhenAny_2_TResult]:...
862
- @typing.overload
863
- def __call__(self, tasks: Array_1[Task_1[ContinueWhenAny_2_TAntecedentResult]], continuationFunction: Func_2[Task_1[ContinueWhenAny_2_TAntecedentResult], ContinueWhenAny_2_TResult], cancellationToken: CancellationToken) -> Task_1[ContinueWhenAny_2_TResult]:...
864
- @typing.overload
865
- def __call__(self, tasks: Array_1[Task_1[ContinueWhenAny_2_TAntecedentResult]], continuationFunction: Func_2[Task_1[ContinueWhenAny_2_TAntecedentResult], ContinueWhenAny_2_TResult], cancellationToken: CancellationToken, continuationOptions: TaskContinuationOptions, scheduler: TaskScheduler) -> Task_1[ContinueWhenAny_2_TResult]:...
866
-
867
- @typing.overload
868
- def __call__(self, tasks: Array_1[Task], continuationAction: Action_1[Task]) -> Task:...
869
- @typing.overload
870
- def __call__(self, tasks: Array_1[Task], continuationAction: Action_1[Task], continuationOptions: TaskContinuationOptions) -> Task:...
871
- @typing.overload
872
- def __call__(self, tasks: Array_1[Task], continuationAction: Action_1[Task], cancellationToken: CancellationToken) -> Task:...
873
- @typing.overload
874
- def __call__(self, tasks: Array_1[Task], continuationAction: Action_1[Task], cancellationToken: CancellationToken, continuationOptions: TaskContinuationOptions, scheduler: TaskScheduler) -> Task:...
875
-
876
- # Skipped FromAsync due to it being static, abstract and generic.
877
-
878
- FromAsync : FromAsync_MethodGroup
879
- class FromAsync_MethodGroup:
880
- @typing.overload
881
- def __getitem__(self, t:typing.Type[FromAsync_1_T1]) -> FromAsync_1[FromAsync_1_T1]: ...
882
-
883
- FromAsync_1_T1 = typing.TypeVar('FromAsync_1_T1')
884
- class FromAsync_1(typing.Generic[FromAsync_1_T1]):
885
- FromAsync_1_TResult = TaskFactory_0.FromAsync_MethodGroup.FromAsync_1_T1
886
- FromAsync_1_TArg1 = TaskFactory_0.FromAsync_MethodGroup.FromAsync_1_T1
887
- @typing.overload
888
- def __call__(self, asyncResult: IAsyncResult, endMethod: Func_2[IAsyncResult, FromAsync_1_TResult]) -> Task_1[FromAsync_1_TResult]:...
889
- @typing.overload
890
- def __call__(self, beginMethod: Func_3[AsyncCallback, typing.Any, IAsyncResult], endMethod: Func_2[IAsyncResult, FromAsync_1_TResult], state: typing.Any) -> Task_1[FromAsync_1_TResult]:...
891
- @typing.overload
892
- def __call__(self, asyncResult: IAsyncResult, endMethod: Func_2[IAsyncResult, FromAsync_1_TResult], creationOptions: TaskCreationOptions) -> Task_1[FromAsync_1_TResult]:...
893
- @typing.overload
894
- def __call__(self, beginMethod: Func_3[AsyncCallback, typing.Any, IAsyncResult], endMethod: Func_2[IAsyncResult, FromAsync_1_TResult], state: typing.Any, creationOptions: TaskCreationOptions) -> Task_1[FromAsync_1_TResult]:...
895
- @typing.overload
896
- def __call__(self, beginMethod: Func_4[FromAsync_1_TArg1, AsyncCallback, typing.Any, IAsyncResult], endMethod: Action_1[IAsyncResult], arg1: FromAsync_1_TArg1, state: typing.Any) -> Task:...
897
- @typing.overload
898
- def __call__(self, asyncResult: IAsyncResult, endMethod: Func_2[IAsyncResult, FromAsync_1_TResult], creationOptions: TaskCreationOptions, scheduler: TaskScheduler) -> Task_1[FromAsync_1_TResult]:...
899
- @typing.overload
900
- def __call__(self, beginMethod: Func_4[FromAsync_1_TArg1, AsyncCallback, typing.Any, IAsyncResult], endMethod: Action_1[IAsyncResult], arg1: FromAsync_1_TArg1, state: typing.Any, creationOptions: TaskCreationOptions) -> Task:...
901
-
902
- @typing.overload
903
- def __getitem__(self, t:typing.Tuple[typing.Type[FromAsync_2_T1], typing.Type[FromAsync_2_T2]]) -> FromAsync_2[FromAsync_2_T1, FromAsync_2_T2]: ...
904
-
905
- FromAsync_2_T1 = typing.TypeVar('FromAsync_2_T1')
906
- FromAsync_2_T2 = typing.TypeVar('FromAsync_2_T2')
907
- class FromAsync_2(typing.Generic[FromAsync_2_T1, FromAsync_2_T2]):
908
- FromAsync_2_TArg1 = TaskFactory_0.FromAsync_MethodGroup.FromAsync_2_T1
909
- FromAsync_2_TResult = TaskFactory_0.FromAsync_MethodGroup.FromAsync_2_T2
910
- FromAsync_2_TArg2 = TaskFactory_0.FromAsync_MethodGroup.FromAsync_2_T2
911
- @typing.overload
912
- def __call__(self, beginMethod: Func_4[FromAsync_2_TArg1, AsyncCallback, typing.Any, IAsyncResult], endMethod: Func_2[IAsyncResult, FromAsync_2_TResult], arg1: FromAsync_2_TArg1, state: typing.Any) -> Task_1[FromAsync_2_TResult]:...
913
- @typing.overload
914
- def __call__(self, beginMethod: Func_4[FromAsync_2_TArg1, AsyncCallback, typing.Any, IAsyncResult], endMethod: Func_2[IAsyncResult, FromAsync_2_TResult], arg1: FromAsync_2_TArg1, state: typing.Any, creationOptions: TaskCreationOptions) -> Task_1[FromAsync_2_TResult]:...
915
- @typing.overload
916
- def __call__(self, beginMethod: Func_5[FromAsync_2_TArg1, FromAsync_2_TArg2, AsyncCallback, typing.Any, IAsyncResult], endMethod: Action_1[IAsyncResult], arg1: FromAsync_2_TArg1, arg2: FromAsync_2_TArg2, state: typing.Any) -> Task:...
917
- @typing.overload
918
- def __call__(self, beginMethod: Func_5[FromAsync_2_TArg1, FromAsync_2_TArg2, AsyncCallback, typing.Any, IAsyncResult], endMethod: Action_1[IAsyncResult], arg1: FromAsync_2_TArg1, arg2: FromAsync_2_TArg2, state: typing.Any, creationOptions: TaskCreationOptions) -> Task:...
919
-
920
- @typing.overload
921
- def __getitem__(self, t:typing.Tuple[typing.Type[FromAsync_3_T1], typing.Type[FromAsync_3_T2], typing.Type[FromAsync_3_T3]]) -> FromAsync_3[FromAsync_3_T1, FromAsync_3_T2, FromAsync_3_T3]: ...
922
-
923
- FromAsync_3_T1 = typing.TypeVar('FromAsync_3_T1')
924
- FromAsync_3_T2 = typing.TypeVar('FromAsync_3_T2')
925
- FromAsync_3_T3 = typing.TypeVar('FromAsync_3_T3')
926
- class FromAsync_3(typing.Generic[FromAsync_3_T1, FromAsync_3_T2, FromAsync_3_T3]):
927
- FromAsync_3_TArg1 = TaskFactory_0.FromAsync_MethodGroup.FromAsync_3_T1
928
- FromAsync_3_TArg2 = TaskFactory_0.FromAsync_MethodGroup.FromAsync_3_T2
929
- FromAsync_3_TResult = TaskFactory_0.FromAsync_MethodGroup.FromAsync_3_T3
930
- FromAsync_3_TArg3 = TaskFactory_0.FromAsync_MethodGroup.FromAsync_3_T3
931
- @typing.overload
932
- def __call__(self, beginMethod: Func_5[FromAsync_3_TArg1, FromAsync_3_TArg2, AsyncCallback, typing.Any, IAsyncResult], endMethod: Func_2[IAsyncResult, FromAsync_3_TResult], arg1: FromAsync_3_TArg1, arg2: FromAsync_3_TArg2, state: typing.Any) -> Task_1[FromAsync_3_TResult]:...
933
- @typing.overload
934
- def __call__(self, beginMethod: Func_5[FromAsync_3_TArg1, FromAsync_3_TArg2, AsyncCallback, typing.Any, IAsyncResult], endMethod: Func_2[IAsyncResult, FromAsync_3_TResult], arg1: FromAsync_3_TArg1, arg2: FromAsync_3_TArg2, state: typing.Any, creationOptions: TaskCreationOptions) -> Task_1[FromAsync_3_TResult]:...
935
- @typing.overload
936
- def __call__(self, beginMethod: Func_6[FromAsync_3_TArg1, FromAsync_3_TArg2, FromAsync_3_TArg3, AsyncCallback, typing.Any, IAsyncResult], endMethod: Action_1[IAsyncResult], arg1: FromAsync_3_TArg1, arg2: FromAsync_3_TArg2, arg3: FromAsync_3_TArg3, state: typing.Any) -> Task:...
937
- @typing.overload
938
- def __call__(self, beginMethod: Func_6[FromAsync_3_TArg1, FromAsync_3_TArg2, FromAsync_3_TArg3, AsyncCallback, typing.Any, IAsyncResult], endMethod: Action_1[IAsyncResult], arg1: FromAsync_3_TArg1, arg2: FromAsync_3_TArg2, arg3: FromAsync_3_TArg3, state: typing.Any, creationOptions: TaskCreationOptions) -> Task:...
939
-
940
- @typing.overload
941
- def __getitem__(self, t:typing.Tuple[typing.Type[FromAsync_4_T1], typing.Type[FromAsync_4_T2], typing.Type[FromAsync_4_T3], typing.Type[FromAsync_4_T4]]) -> FromAsync_4[FromAsync_4_T1, FromAsync_4_T2, FromAsync_4_T3, FromAsync_4_T4]: ...
942
-
943
- FromAsync_4_T1 = typing.TypeVar('FromAsync_4_T1')
944
- FromAsync_4_T2 = typing.TypeVar('FromAsync_4_T2')
945
- FromAsync_4_T3 = typing.TypeVar('FromAsync_4_T3')
946
- FromAsync_4_T4 = typing.TypeVar('FromAsync_4_T4')
947
- class FromAsync_4(typing.Generic[FromAsync_4_T1, FromAsync_4_T2, FromAsync_4_T3, FromAsync_4_T4]):
948
- FromAsync_4_TArg1 = TaskFactory_0.FromAsync_MethodGroup.FromAsync_4_T1
949
- FromAsync_4_TArg2 = TaskFactory_0.FromAsync_MethodGroup.FromAsync_4_T2
950
- FromAsync_4_TArg3 = TaskFactory_0.FromAsync_MethodGroup.FromAsync_4_T3
951
- FromAsync_4_TResult = TaskFactory_0.FromAsync_MethodGroup.FromAsync_4_T4
952
- @typing.overload
953
- def __call__(self, beginMethod: Func_6[FromAsync_4_TArg1, FromAsync_4_TArg2, FromAsync_4_TArg3, AsyncCallback, typing.Any, IAsyncResult], endMethod: Func_2[IAsyncResult, FromAsync_4_TResult], arg1: FromAsync_4_TArg1, arg2: FromAsync_4_TArg2, arg3: FromAsync_4_TArg3, state: typing.Any) -> Task_1[FromAsync_4_TResult]:...
954
- @typing.overload
955
- def __call__(self, beginMethod: Func_6[FromAsync_4_TArg1, FromAsync_4_TArg2, FromAsync_4_TArg3, AsyncCallback, typing.Any, IAsyncResult], endMethod: Func_2[IAsyncResult, FromAsync_4_TResult], arg1: FromAsync_4_TArg1, arg2: FromAsync_4_TArg2, arg3: FromAsync_4_TArg3, state: typing.Any, creationOptions: TaskCreationOptions) -> Task_1[FromAsync_4_TResult]:...
956
-
957
- @typing.overload
958
- def __call__(self, asyncResult: IAsyncResult, endMethod: Action_1[IAsyncResult]) -> Task:...
959
- @typing.overload
960
- def __call__(self, beginMethod: Func_3[AsyncCallback, typing.Any, IAsyncResult], endMethod: Action_1[IAsyncResult], state: typing.Any) -> Task:...
961
- @typing.overload
962
- def __call__(self, asyncResult: IAsyncResult, endMethod: Action_1[IAsyncResult], creationOptions: TaskCreationOptions) -> Task:...
963
- @typing.overload
964
- def __call__(self, beginMethod: Func_3[AsyncCallback, typing.Any, IAsyncResult], endMethod: Action_1[IAsyncResult], state: typing.Any, creationOptions: TaskCreationOptions) -> Task:...
965
- @typing.overload
966
- def __call__(self, asyncResult: IAsyncResult, endMethod: Action_1[IAsyncResult], creationOptions: TaskCreationOptions, scheduler: TaskScheduler) -> Task:...
967
-
968
- # Skipped StartNew due to it being static, abstract and generic.
969
-
970
- StartNew : StartNew_MethodGroup
971
- class StartNew_MethodGroup:
972
- def __getitem__(self, t:typing.Type[StartNew_1_T1]) -> StartNew_1[StartNew_1_T1]: ...
973
-
974
- StartNew_1_T1 = typing.TypeVar('StartNew_1_T1')
975
- class StartNew_1(typing.Generic[StartNew_1_T1]):
976
- StartNew_1_TResult = TaskFactory_0.StartNew_MethodGroup.StartNew_1_T1
977
- @typing.overload
978
- def __call__(self, function: Func_1[StartNew_1_TResult]) -> Task_1[StartNew_1_TResult]:...
979
- @typing.overload
980
- def __call__(self, function: Func_1[StartNew_1_TResult], creationOptions: TaskCreationOptions) -> Task_1[StartNew_1_TResult]:...
981
- @typing.overload
982
- def __call__(self, function: Func_1[StartNew_1_TResult], cancellationToken: CancellationToken) -> Task_1[StartNew_1_TResult]:...
983
- @typing.overload
984
- def __call__(self, function: Func_2[typing.Any, StartNew_1_TResult], state: typing.Any) -> Task_1[StartNew_1_TResult]:...
985
- @typing.overload
986
- def __call__(self, function: Func_2[typing.Any, StartNew_1_TResult], state: typing.Any, creationOptions: TaskCreationOptions) -> Task_1[StartNew_1_TResult]:...
987
- @typing.overload
988
- def __call__(self, function: Func_2[typing.Any, StartNew_1_TResult], state: typing.Any, cancellationToken: CancellationToken) -> Task_1[StartNew_1_TResult]:...
989
- @typing.overload
990
- def __call__(self, function: Func_1[StartNew_1_TResult], cancellationToken: CancellationToken, creationOptions: TaskCreationOptions, scheduler: TaskScheduler) -> Task_1[StartNew_1_TResult]:...
991
- @typing.overload
992
- def __call__(self, function: Func_2[typing.Any, StartNew_1_TResult], state: typing.Any, cancellationToken: CancellationToken, creationOptions: TaskCreationOptions, scheduler: TaskScheduler) -> Task_1[StartNew_1_TResult]:...
993
-
994
- @typing.overload
995
- def __call__(self, action: Action) -> Task:...
996
- @typing.overload
997
- def __call__(self, action: Action_1[typing.Any], state: typing.Any) -> Task:...
998
- @typing.overload
999
- def __call__(self, action: Action, creationOptions: TaskCreationOptions) -> Task:...
1000
- @typing.overload
1001
- def __call__(self, action: Action, cancellationToken: CancellationToken) -> Task:...
1002
- @typing.overload
1003
- def __call__(self, action: Action_1[typing.Any], state: typing.Any, creationOptions: TaskCreationOptions) -> Task:...
1004
- @typing.overload
1005
- def __call__(self, action: Action_1[typing.Any], state: typing.Any, cancellationToken: CancellationToken) -> Task:...
1006
- @typing.overload
1007
- def __call__(self, action: Action, cancellationToken: CancellationToken, creationOptions: TaskCreationOptions, scheduler: TaskScheduler) -> Task:...
1008
- @typing.overload
1009
- def __call__(self, action: Action_1[typing.Any], state: typing.Any, cancellationToken: CancellationToken, creationOptions: TaskCreationOptions, scheduler: TaskScheduler) -> Task:...
1010
-
1011
-
1012
-
1013
- TaskFactory_1_TResult = typing.TypeVar('TaskFactory_1_TResult')
1014
- class TaskFactory_1(typing.Generic[TaskFactory_1_TResult]):
1015
- @typing.overload
1016
- def __init__(self) -> None: ...
1017
- @typing.overload
1018
- def __init__(self, cancellationToken: CancellationToken) -> None: ...
1019
- @typing.overload
1020
- def __init__(self, cancellationToken: CancellationToken, creationOptions: TaskCreationOptions, continuationOptions: TaskContinuationOptions, scheduler: TaskScheduler) -> None: ...
1021
- @typing.overload
1022
- def __init__(self, creationOptions: TaskCreationOptions, continuationOptions: TaskContinuationOptions) -> None: ...
1023
- @typing.overload
1024
- def __init__(self, scheduler: TaskScheduler) -> None: ...
1025
- @property
1026
- def CancellationToken(self) -> CancellationToken: ...
1027
- @property
1028
- def ContinuationOptions(self) -> TaskContinuationOptions: ...
1029
- @property
1030
- def CreationOptions(self) -> TaskCreationOptions: ...
1031
- @property
1032
- def Scheduler(self) -> TaskScheduler: ...
1033
- # Skipped ContinueWhenAll due to it being static, abstract and generic.
1034
-
1035
- ContinueWhenAll : ContinueWhenAll_MethodGroup[TaskFactory_1_TResult]
1036
- ContinueWhenAll_MethodGroup_TaskFactory_1_TResult = typing.TypeVar('ContinueWhenAll_MethodGroup_TaskFactory_1_TResult')
1037
- class ContinueWhenAll_MethodGroup(typing.Generic[ContinueWhenAll_MethodGroup_TaskFactory_1_TResult]):
1038
- ContinueWhenAll_MethodGroup_TaskFactory_1_TResult = TaskFactory_1.ContinueWhenAll_MethodGroup_TaskFactory_1_TResult
1039
- def __getitem__(self, t:typing.Type[ContinueWhenAll_1_T1]) -> ContinueWhenAll_1[ContinueWhenAll_MethodGroup_TaskFactory_1_TResult, ContinueWhenAll_1_T1]: ...
1040
-
1041
- ContinueWhenAll_1_TaskFactory_1_TResult = typing.TypeVar('ContinueWhenAll_1_TaskFactory_1_TResult')
1042
- ContinueWhenAll_1_T1 = typing.TypeVar('ContinueWhenAll_1_T1')
1043
- class ContinueWhenAll_1(typing.Generic[ContinueWhenAll_1_TaskFactory_1_TResult, ContinueWhenAll_1_T1]):
1044
- ContinueWhenAll_1_TaskFactory_1_TResult = TaskFactory_1.ContinueWhenAll_MethodGroup.ContinueWhenAll_1_TaskFactory_1_TResult
1045
- ContinueWhenAll_1_TAntecedentResult = TaskFactory_1.ContinueWhenAll_MethodGroup.ContinueWhenAll_1_T1
1046
- @typing.overload
1047
- def __call__(self, tasks: Array_1[Task_1[ContinueWhenAll_1_TAntecedentResult]], continuationFunction: Func_2[Array_1[Task_1[ContinueWhenAll_1_TAntecedentResult]], ContinueWhenAll_1_TaskFactory_1_TResult]) -> Task_1[ContinueWhenAll_1_TaskFactory_1_TResult]:...
1048
- @typing.overload
1049
- def __call__(self, tasks: Array_1[Task_1[ContinueWhenAll_1_TAntecedentResult]], continuationFunction: Func_2[Array_1[Task_1[ContinueWhenAll_1_TAntecedentResult]], ContinueWhenAll_1_TaskFactory_1_TResult], continuationOptions: TaskContinuationOptions) -> Task_1[ContinueWhenAll_1_TaskFactory_1_TResult]:...
1050
- @typing.overload
1051
- def __call__(self, tasks: Array_1[Task_1[ContinueWhenAll_1_TAntecedentResult]], continuationFunction: Func_2[Array_1[Task_1[ContinueWhenAll_1_TAntecedentResult]], ContinueWhenAll_1_TaskFactory_1_TResult], cancellationToken: CancellationToken) -> Task_1[ContinueWhenAll_1_TaskFactory_1_TResult]:...
1052
- @typing.overload
1053
- def __call__(self, tasks: Array_1[Task_1[ContinueWhenAll_1_TAntecedentResult]], continuationFunction: Func_2[Array_1[Task_1[ContinueWhenAll_1_TAntecedentResult]], ContinueWhenAll_1_TaskFactory_1_TResult], cancellationToken: CancellationToken, continuationOptions: TaskContinuationOptions, scheduler: TaskScheduler) -> Task_1[ContinueWhenAll_1_TaskFactory_1_TResult]:...
1054
-
1055
- @typing.overload
1056
- def __call__(self, tasks: Array_1[Task], continuationFunction: Func_2[Array_1[Task], ContinueWhenAll_MethodGroup_TaskFactory_1_TResult]) -> Task_1[ContinueWhenAll_MethodGroup_TaskFactory_1_TResult]:...
1057
- @typing.overload
1058
- def __call__(self, tasks: Array_1[Task], continuationFunction: Func_2[Array_1[Task], ContinueWhenAll_MethodGroup_TaskFactory_1_TResult], continuationOptions: TaskContinuationOptions) -> Task_1[ContinueWhenAll_MethodGroup_TaskFactory_1_TResult]:...
1059
- @typing.overload
1060
- def __call__(self, tasks: Array_1[Task], continuationFunction: Func_2[Array_1[Task], ContinueWhenAll_MethodGroup_TaskFactory_1_TResult], cancellationToken: CancellationToken) -> Task_1[ContinueWhenAll_MethodGroup_TaskFactory_1_TResult]:...
1061
- @typing.overload
1062
- def __call__(self, tasks: Array_1[Task], continuationFunction: Func_2[Array_1[Task], ContinueWhenAll_MethodGroup_TaskFactory_1_TResult], cancellationToken: CancellationToken, continuationOptions: TaskContinuationOptions, scheduler: TaskScheduler) -> Task_1[ContinueWhenAll_MethodGroup_TaskFactory_1_TResult]:...
1063
-
1064
- # Skipped ContinueWhenAny due to it being static, abstract and generic.
1065
-
1066
- ContinueWhenAny : ContinueWhenAny_MethodGroup[TaskFactory_1_TResult]
1067
- ContinueWhenAny_MethodGroup_TaskFactory_1_TResult = typing.TypeVar('ContinueWhenAny_MethodGroup_TaskFactory_1_TResult')
1068
- class ContinueWhenAny_MethodGroup(typing.Generic[ContinueWhenAny_MethodGroup_TaskFactory_1_TResult]):
1069
- ContinueWhenAny_MethodGroup_TaskFactory_1_TResult = TaskFactory_1.ContinueWhenAny_MethodGroup_TaskFactory_1_TResult
1070
- def __getitem__(self, t:typing.Type[ContinueWhenAny_1_T1]) -> ContinueWhenAny_1[ContinueWhenAny_MethodGroup_TaskFactory_1_TResult, ContinueWhenAny_1_T1]: ...
1071
-
1072
- ContinueWhenAny_1_TaskFactory_1_TResult = typing.TypeVar('ContinueWhenAny_1_TaskFactory_1_TResult')
1073
- ContinueWhenAny_1_T1 = typing.TypeVar('ContinueWhenAny_1_T1')
1074
- class ContinueWhenAny_1(typing.Generic[ContinueWhenAny_1_TaskFactory_1_TResult, ContinueWhenAny_1_T1]):
1075
- ContinueWhenAny_1_TaskFactory_1_TResult = TaskFactory_1.ContinueWhenAny_MethodGroup.ContinueWhenAny_1_TaskFactory_1_TResult
1076
- ContinueWhenAny_1_TAntecedentResult = TaskFactory_1.ContinueWhenAny_MethodGroup.ContinueWhenAny_1_T1
1077
- @typing.overload
1078
- def __call__(self, tasks: Array_1[Task_1[ContinueWhenAny_1_TAntecedentResult]], continuationFunction: Func_2[Task_1[ContinueWhenAny_1_TAntecedentResult], ContinueWhenAny_1_TaskFactory_1_TResult]) -> Task_1[ContinueWhenAny_1_TaskFactory_1_TResult]:...
1079
- @typing.overload
1080
- def __call__(self, tasks: Array_1[Task_1[ContinueWhenAny_1_TAntecedentResult]], continuationFunction: Func_2[Task_1[ContinueWhenAny_1_TAntecedentResult], ContinueWhenAny_1_TaskFactory_1_TResult], continuationOptions: TaskContinuationOptions) -> Task_1[ContinueWhenAny_1_TaskFactory_1_TResult]:...
1081
- @typing.overload
1082
- def __call__(self, tasks: Array_1[Task_1[ContinueWhenAny_1_TAntecedentResult]], continuationFunction: Func_2[Task_1[ContinueWhenAny_1_TAntecedentResult], ContinueWhenAny_1_TaskFactory_1_TResult], cancellationToken: CancellationToken) -> Task_1[ContinueWhenAny_1_TaskFactory_1_TResult]:...
1083
- @typing.overload
1084
- def __call__(self, tasks: Array_1[Task_1[ContinueWhenAny_1_TAntecedentResult]], continuationFunction: Func_2[Task_1[ContinueWhenAny_1_TAntecedentResult], ContinueWhenAny_1_TaskFactory_1_TResult], cancellationToken: CancellationToken, continuationOptions: TaskContinuationOptions, scheduler: TaskScheduler) -> Task_1[ContinueWhenAny_1_TaskFactory_1_TResult]:...
1085
-
1086
- @typing.overload
1087
- def __call__(self, tasks: Array_1[Task], continuationFunction: Func_2[Task, ContinueWhenAny_MethodGroup_TaskFactory_1_TResult]) -> Task_1[ContinueWhenAny_MethodGroup_TaskFactory_1_TResult]:...
1088
- @typing.overload
1089
- def __call__(self, tasks: Array_1[Task], continuationFunction: Func_2[Task, ContinueWhenAny_MethodGroup_TaskFactory_1_TResult], continuationOptions: TaskContinuationOptions) -> Task_1[ContinueWhenAny_MethodGroup_TaskFactory_1_TResult]:...
1090
- @typing.overload
1091
- def __call__(self, tasks: Array_1[Task], continuationFunction: Func_2[Task, ContinueWhenAny_MethodGroup_TaskFactory_1_TResult], cancellationToken: CancellationToken) -> Task_1[ContinueWhenAny_MethodGroup_TaskFactory_1_TResult]:...
1092
- @typing.overload
1093
- def __call__(self, tasks: Array_1[Task], continuationFunction: Func_2[Task, ContinueWhenAny_MethodGroup_TaskFactory_1_TResult], cancellationToken: CancellationToken, continuationOptions: TaskContinuationOptions, scheduler: TaskScheduler) -> Task_1[ContinueWhenAny_MethodGroup_TaskFactory_1_TResult]:...
1094
-
1095
- # Skipped FromAsync due to it being static, abstract and generic.
1096
-
1097
- FromAsync : FromAsync_MethodGroup[TaskFactory_1_TResult]
1098
- FromAsync_MethodGroup_TaskFactory_1_TResult = typing.TypeVar('FromAsync_MethodGroup_TaskFactory_1_TResult')
1099
- class FromAsync_MethodGroup(typing.Generic[FromAsync_MethodGroup_TaskFactory_1_TResult]):
1100
- FromAsync_MethodGroup_TaskFactory_1_TResult = TaskFactory_1.FromAsync_MethodGroup_TaskFactory_1_TResult
1101
- @typing.overload
1102
- def __getitem__(self, t:typing.Type[FromAsync_1_T1]) -> FromAsync_1[FromAsync_MethodGroup_TaskFactory_1_TResult, FromAsync_1_T1]: ...
1103
-
1104
- FromAsync_1_TaskFactory_1_TResult = typing.TypeVar('FromAsync_1_TaskFactory_1_TResult')
1105
- FromAsync_1_T1 = typing.TypeVar('FromAsync_1_T1')
1106
- class FromAsync_1(typing.Generic[FromAsync_1_TaskFactory_1_TResult, FromAsync_1_T1]):
1107
- FromAsync_1_TaskFactory_1_TResult = TaskFactory_1.FromAsync_MethodGroup.FromAsync_1_TaskFactory_1_TResult
1108
- FromAsync_1_TArg1 = TaskFactory_1.FromAsync_MethodGroup.FromAsync_1_T1
1109
- @typing.overload
1110
- def __call__(self, beginMethod: Func_4[FromAsync_1_TArg1, AsyncCallback, typing.Any, IAsyncResult], endMethod: Func_2[IAsyncResult, FromAsync_1_TaskFactory_1_TResult], arg1: FromAsync_1_TArg1, state: typing.Any) -> Task_1[FromAsync_1_TaskFactory_1_TResult]:...
1111
- @typing.overload
1112
- def __call__(self, beginMethod: Func_4[FromAsync_1_TArg1, AsyncCallback, typing.Any, IAsyncResult], endMethod: Func_2[IAsyncResult, FromAsync_1_TaskFactory_1_TResult], arg1: FromAsync_1_TArg1, state: typing.Any, creationOptions: TaskCreationOptions) -> Task_1[FromAsync_1_TaskFactory_1_TResult]:...
1113
-
1114
- @typing.overload
1115
- def __getitem__(self, t:typing.Tuple[typing.Type[FromAsync_2_T1], typing.Type[FromAsync_2_T2]]) -> FromAsync_2[FromAsync_MethodGroup_TaskFactory_1_TResult, FromAsync_2_T1, FromAsync_2_T2]: ...
1116
-
1117
- FromAsync_2_TaskFactory_1_TResult = typing.TypeVar('FromAsync_2_TaskFactory_1_TResult')
1118
- FromAsync_2_T1 = typing.TypeVar('FromAsync_2_T1')
1119
- FromAsync_2_T2 = typing.TypeVar('FromAsync_2_T2')
1120
- class FromAsync_2(typing.Generic[FromAsync_2_TaskFactory_1_TResult, FromAsync_2_T1, FromAsync_2_T2]):
1121
- FromAsync_2_TaskFactory_1_TResult = TaskFactory_1.FromAsync_MethodGroup.FromAsync_2_TaskFactory_1_TResult
1122
- FromAsync_2_TArg1 = TaskFactory_1.FromAsync_MethodGroup.FromAsync_2_T1
1123
- FromAsync_2_TArg2 = TaskFactory_1.FromAsync_MethodGroup.FromAsync_2_T2
1124
- @typing.overload
1125
- def __call__(self, beginMethod: Func_5[FromAsync_2_TArg1, FromAsync_2_TArg2, AsyncCallback, typing.Any, IAsyncResult], endMethod: Func_2[IAsyncResult, FromAsync_2_TaskFactory_1_TResult], arg1: FromAsync_2_TArg1, arg2: FromAsync_2_TArg2, state: typing.Any) -> Task_1[FromAsync_2_TaskFactory_1_TResult]:...
1126
- @typing.overload
1127
- def __call__(self, beginMethod: Func_5[FromAsync_2_TArg1, FromAsync_2_TArg2, AsyncCallback, typing.Any, IAsyncResult], endMethod: Func_2[IAsyncResult, FromAsync_2_TaskFactory_1_TResult], arg1: FromAsync_2_TArg1, arg2: FromAsync_2_TArg2, state: typing.Any, creationOptions: TaskCreationOptions) -> Task_1[FromAsync_2_TaskFactory_1_TResult]:...
1128
-
1129
- @typing.overload
1130
- def __getitem__(self, t:typing.Tuple[typing.Type[FromAsync_3_T1], typing.Type[FromAsync_3_T2], typing.Type[FromAsync_3_T3]]) -> FromAsync_3[FromAsync_MethodGroup_TaskFactory_1_TResult, FromAsync_3_T1, FromAsync_3_T2, FromAsync_3_T3]: ...
1131
-
1132
- FromAsync_3_TaskFactory_1_TResult = typing.TypeVar('FromAsync_3_TaskFactory_1_TResult')
1133
- FromAsync_3_T1 = typing.TypeVar('FromAsync_3_T1')
1134
- FromAsync_3_T2 = typing.TypeVar('FromAsync_3_T2')
1135
- FromAsync_3_T3 = typing.TypeVar('FromAsync_3_T3')
1136
- class FromAsync_3(typing.Generic[FromAsync_3_TaskFactory_1_TResult, FromAsync_3_T1, FromAsync_3_T2, FromAsync_3_T3]):
1137
- FromAsync_3_TaskFactory_1_TResult = TaskFactory_1.FromAsync_MethodGroup.FromAsync_3_TaskFactory_1_TResult
1138
- FromAsync_3_TArg1 = TaskFactory_1.FromAsync_MethodGroup.FromAsync_3_T1
1139
- FromAsync_3_TArg2 = TaskFactory_1.FromAsync_MethodGroup.FromAsync_3_T2
1140
- FromAsync_3_TArg3 = TaskFactory_1.FromAsync_MethodGroup.FromAsync_3_T3
1141
- @typing.overload
1142
- def __call__(self, beginMethod: Func_6[FromAsync_3_TArg1, FromAsync_3_TArg2, FromAsync_3_TArg3, AsyncCallback, typing.Any, IAsyncResult], endMethod: Func_2[IAsyncResult, FromAsync_3_TaskFactory_1_TResult], arg1: FromAsync_3_TArg1, arg2: FromAsync_3_TArg2, arg3: FromAsync_3_TArg3, state: typing.Any) -> Task_1[FromAsync_3_TaskFactory_1_TResult]:...
1143
- @typing.overload
1144
- def __call__(self, beginMethod: Func_6[FromAsync_3_TArg1, FromAsync_3_TArg2, FromAsync_3_TArg3, AsyncCallback, typing.Any, IAsyncResult], endMethod: Func_2[IAsyncResult, FromAsync_3_TaskFactory_1_TResult], arg1: FromAsync_3_TArg1, arg2: FromAsync_3_TArg2, arg3: FromAsync_3_TArg3, state: typing.Any, creationOptions: TaskCreationOptions) -> Task_1[FromAsync_3_TaskFactory_1_TResult]:...
1145
-
1146
- @typing.overload
1147
- def __call__(self, asyncResult: IAsyncResult, endMethod: Func_2[IAsyncResult, FromAsync_MethodGroup_TaskFactory_1_TResult]) -> Task_1[FromAsync_MethodGroup_TaskFactory_1_TResult]:...
1148
- @typing.overload
1149
- def __call__(self, beginMethod: Func_3[AsyncCallback, typing.Any, IAsyncResult], endMethod: Func_2[IAsyncResult, FromAsync_MethodGroup_TaskFactory_1_TResult], state: typing.Any) -> Task_1[FromAsync_MethodGroup_TaskFactory_1_TResult]:...
1150
- @typing.overload
1151
- def __call__(self, asyncResult: IAsyncResult, endMethod: Func_2[IAsyncResult, FromAsync_MethodGroup_TaskFactory_1_TResult], creationOptions: TaskCreationOptions) -> Task_1[FromAsync_MethodGroup_TaskFactory_1_TResult]:...
1152
- @typing.overload
1153
- def __call__(self, beginMethod: Func_3[AsyncCallback, typing.Any, IAsyncResult], endMethod: Func_2[IAsyncResult, FromAsync_MethodGroup_TaskFactory_1_TResult], state: typing.Any, creationOptions: TaskCreationOptions) -> Task_1[FromAsync_MethodGroup_TaskFactory_1_TResult]:...
1154
- @typing.overload
1155
- def __call__(self, asyncResult: IAsyncResult, endMethod: Func_2[IAsyncResult, FromAsync_MethodGroup_TaskFactory_1_TResult], creationOptions: TaskCreationOptions, scheduler: TaskScheduler) -> Task_1[FromAsync_MethodGroup_TaskFactory_1_TResult]:...
1156
-
1157
- # Skipped StartNew due to it being static, abstract and generic.
1158
-
1159
- StartNew : StartNew_MethodGroup[TaskFactory_1_TResult]
1160
- StartNew_MethodGroup_TaskFactory_1_TResult = typing.TypeVar('StartNew_MethodGroup_TaskFactory_1_TResult')
1161
- class StartNew_MethodGroup(typing.Generic[StartNew_MethodGroup_TaskFactory_1_TResult]):
1162
- StartNew_MethodGroup_TaskFactory_1_TResult = TaskFactory_1.StartNew_MethodGroup_TaskFactory_1_TResult
1163
- @typing.overload
1164
- def __call__(self, function: Func_1[StartNew_MethodGroup_TaskFactory_1_TResult]) -> Task_1[StartNew_MethodGroup_TaskFactory_1_TResult]:...
1165
- @typing.overload
1166
- def __call__(self, function: Func_1[StartNew_MethodGroup_TaskFactory_1_TResult], creationOptions: TaskCreationOptions) -> Task_1[StartNew_MethodGroup_TaskFactory_1_TResult]:...
1167
- @typing.overload
1168
- def __call__(self, function: Func_1[StartNew_MethodGroup_TaskFactory_1_TResult], cancellationToken: CancellationToken) -> Task_1[StartNew_MethodGroup_TaskFactory_1_TResult]:...
1169
- @typing.overload
1170
- def __call__(self, function: Func_2[typing.Any, StartNew_MethodGroup_TaskFactory_1_TResult], state: typing.Any) -> Task_1[StartNew_MethodGroup_TaskFactory_1_TResult]:...
1171
- @typing.overload
1172
- def __call__(self, function: Func_2[typing.Any, StartNew_MethodGroup_TaskFactory_1_TResult], state: typing.Any, creationOptions: TaskCreationOptions) -> Task_1[StartNew_MethodGroup_TaskFactory_1_TResult]:...
1173
- @typing.overload
1174
- def __call__(self, function: Func_2[typing.Any, StartNew_MethodGroup_TaskFactory_1_TResult], state: typing.Any, cancellationToken: CancellationToken) -> Task_1[StartNew_MethodGroup_TaskFactory_1_TResult]:...
1175
- @typing.overload
1176
- def __call__(self, function: Func_1[StartNew_MethodGroup_TaskFactory_1_TResult], cancellationToken: CancellationToken, creationOptions: TaskCreationOptions, scheduler: TaskScheduler) -> Task_1[StartNew_MethodGroup_TaskFactory_1_TResult]:...
1177
- @typing.overload
1178
- def __call__(self, function: Func_2[typing.Any, StartNew_MethodGroup_TaskFactory_1_TResult], state: typing.Any, cancellationToken: CancellationToken, creationOptions: TaskCreationOptions, scheduler: TaskScheduler) -> Task_1[StartNew_MethodGroup_TaskFactory_1_TResult]:...
1179
-
1180
-
1181
-
1182
- class TaskScheduler(abc.ABC):
1183
- @classmethod
1184
- @property
1185
- def Current(cls) -> TaskScheduler: ...
1186
- @classmethod
1187
- @property
1188
- def Default(cls) -> TaskScheduler: ...
1189
- @property
1190
- def Id(self) -> int: ...
1191
- @property
1192
- def MaximumConcurrencyLevel(self) -> int: ...
1193
- @staticmethod
1194
- def FromCurrentSynchronizationContext() -> TaskScheduler: ...
1195
-
1196
-
1197
- class TaskSchedulerException(Exception):
1198
- @typing.overload
1199
- def __init__(self) -> None: ...
1200
- @typing.overload
1201
- def __init__(self, innerException: Exception) -> None: ...
1202
- @typing.overload
1203
- def __init__(self, message: str) -> None: ...
1204
- @typing.overload
1205
- def __init__(self, message: str, innerException: Exception) -> None: ...
1206
- @property
1207
- def Data(self) -> IDictionary: ...
1208
- @property
1209
- def HelpLink(self) -> str: ...
1210
- @HelpLink.setter
1211
- def HelpLink(self, value: str) -> str: ...
1212
- @property
1213
- def HResult(self) -> int: ...
1214
- @HResult.setter
1215
- def HResult(self, value: int) -> int: ...
1216
- @property
1217
- def InnerException(self) -> Exception: ...
1218
- @property
1219
- def Message(self) -> str: ...
1220
- @property
1221
- def Source(self) -> str: ...
1222
- @Source.setter
1223
- def Source(self, value: str) -> str: ...
1224
- @property
1225
- def StackTrace(self) -> str: ...
1226
- @property
1227
- def TargetSite(self) -> MethodBase: ...
1228
-
1229
-
1230
- class TaskStatus(typing.SupportsInt):
1231
- @typing.overload
1232
- def __init__(self, value : int) -> None: ...
1233
- @typing.overload
1234
- def __init__(self, value : int, force_if_true: bool) -> None: ...
1235
- def __int__(self) -> int: ...
1236
-
1237
- # Values:
1238
- Created : TaskStatus # 0
1239
- WaitingForActivation : TaskStatus # 1
1240
- WaitingToRun : TaskStatus # 2
1241
- Running : TaskStatus # 3
1242
- WaitingForChildrenToComplete : TaskStatus # 4
1243
- RanToCompletion : TaskStatus # 5
1244
- Canceled : TaskStatus # 6
1245
- Faulted : TaskStatus # 7
1246
-
1247
-
1248
- class TaskToAsyncResult(abc.ABC):
1249
- @staticmethod
1250
- def Begin(task: Task, callback: AsyncCallback, state: typing.Any) -> IAsyncResult: ...
1251
- # Skipped End due to it being static, abstract and generic.
1252
-
1253
- End : End_MethodGroup
1254
- class End_MethodGroup:
1255
- def __getitem__(self, t:typing.Type[End_1_T1]) -> End_1[End_1_T1]: ...
1256
-
1257
- End_1_T1 = typing.TypeVar('End_1_T1')
1258
- class End_1(typing.Generic[End_1_T1]):
1259
- End_1_TResult = TaskToAsyncResult.End_MethodGroup.End_1_T1
1260
- def __call__(self, asyncResult: IAsyncResult) -> End_1_TResult:...
1261
-
1262
- def __call__(self, asyncResult: IAsyncResult) -> None:...
1263
-
1264
- # Skipped Unwrap due to it being static, abstract and generic.
1265
-
1266
- Unwrap : Unwrap_MethodGroup
1267
- class Unwrap_MethodGroup:
1268
- def __getitem__(self, t:typing.Type[Unwrap_1_T1]) -> Unwrap_1[Unwrap_1_T1]: ...
1269
-
1270
- Unwrap_1_T1 = typing.TypeVar('Unwrap_1_T1')
1271
- class Unwrap_1(typing.Generic[Unwrap_1_T1]):
1272
- Unwrap_1_TResult = TaskToAsyncResult.Unwrap_MethodGroup.Unwrap_1_T1
1273
- def __call__(self, asyncResult: IAsyncResult) -> Task_1[Unwrap_1_TResult]:...
1274
-
1275
- def __call__(self, asyncResult: IAsyncResult) -> Task:...
1276
-
1277
-
1278
-
1279
- class UnobservedTaskExceptionEventArgs(EventArgs):
1280
- def __init__(self, exception: AggregateException) -> None: ...
1281
- @property
1282
- def Exception(self) -> AggregateException: ...
1283
- @property
1284
- def Observed(self) -> bool: ...
1285
- def SetObserved(self) -> None: ...
1286
-
1287
-
1288
- class ValueTask_GenericClasses(abc.ABCMeta):
1289
- Generic_ValueTask_GenericClasses_ValueTask_1_TResult = typing.TypeVar('Generic_ValueTask_GenericClasses_ValueTask_1_TResult')
1290
- def __getitem__(self, types : typing.Type[Generic_ValueTask_GenericClasses_ValueTask_1_TResult]) -> typing.Type[ValueTask_1[Generic_ValueTask_GenericClasses_ValueTask_1_TResult]]: ...
1291
-
1292
- class ValueTask(ValueTask_0, metaclass =ValueTask_GenericClasses): ...
1293
-
1294
- class ValueTask_0(IEquatable_1[ValueTask]):
1295
- @typing.overload
1296
- def __init__(self, source: IValueTaskSource, token: int) -> None: ...
1297
- @typing.overload
1298
- def __init__(self, task: Task) -> None: ...
1299
- @classmethod
1300
- @property
1301
- def CompletedTask(cls) -> ValueTask: ...
1302
- @property
1303
- def IsCanceled(self) -> bool: ...
1304
- @property
1305
- def IsCompleted(self) -> bool: ...
1306
- @property
1307
- def IsCompletedSuccessfully(self) -> bool: ...
1308
- @property
1309
- def IsFaulted(self) -> bool: ...
1310
- def AsTask(self) -> Task: ...
1311
- def ConfigureAwait(self, continueOnCapturedContext: bool) -> ConfiguredValueTaskAwaitable: ...
1312
- def GetAwaiter(self) -> ValueTaskAwaiter: ...
1313
- def GetHashCode(self) -> int: ...
1314
- def __eq__(self, left: ValueTask, right: ValueTask) -> bool: ...
1315
- def __ne__(self, left: ValueTask, right: ValueTask) -> bool: ...
1316
- def Preserve(self) -> ValueTask: ...
1317
- # Skipped Equals due to it being static, abstract and generic.
1318
-
1319
- Equals : Equals_MethodGroup
1320
- class Equals_MethodGroup:
1321
- @typing.overload
1322
- def __call__(self, other: ValueTask) -> bool:...
1323
- @typing.overload
1324
- def __call__(self, obj: typing.Any) -> bool:...
1325
-
1326
- # Skipped FromCanceled due to it being static, abstract and generic.
1327
-
1328
- FromCanceled : FromCanceled_MethodGroup
1329
- class FromCanceled_MethodGroup:
1330
- def __getitem__(self, t:typing.Type[FromCanceled_1_T1]) -> FromCanceled_1[FromCanceled_1_T1]: ...
1331
-
1332
- FromCanceled_1_T1 = typing.TypeVar('FromCanceled_1_T1')
1333
- class FromCanceled_1(typing.Generic[FromCanceled_1_T1]):
1334
- FromCanceled_1_TResult = ValueTask_0.FromCanceled_MethodGroup.FromCanceled_1_T1
1335
- def __call__(self, cancellationToken: CancellationToken) -> ValueTask_1[FromCanceled_1_TResult]:...
1336
-
1337
- def __call__(self, cancellationToken: CancellationToken) -> ValueTask:...
1338
-
1339
- # Skipped FromException due to it being static, abstract and generic.
1340
-
1341
- FromException : FromException_MethodGroup
1342
- class FromException_MethodGroup:
1343
- def __getitem__(self, t:typing.Type[FromException_1_T1]) -> FromException_1[FromException_1_T1]: ...
1344
-
1345
- FromException_1_T1 = typing.TypeVar('FromException_1_T1')
1346
- class FromException_1(typing.Generic[FromException_1_T1]):
1347
- FromException_1_TResult = ValueTask_0.FromException_MethodGroup.FromException_1_T1
1348
- def __call__(self, exception: Exception) -> ValueTask_1[FromException_1_TResult]:...
1349
-
1350
- def __call__(self, exception: Exception) -> ValueTask:...
1351
-
1352
- # Skipped FromResult due to it being static, abstract and generic.
1353
-
1354
- FromResult : FromResult_MethodGroup
1355
- class FromResult_MethodGroup:
1356
- def __getitem__(self, t:typing.Type[FromResult_1_T1]) -> FromResult_1[FromResult_1_T1]: ...
1357
-
1358
- FromResult_1_T1 = typing.TypeVar('FromResult_1_T1')
1359
- class FromResult_1(typing.Generic[FromResult_1_T1]):
1360
- FromResult_1_TResult = ValueTask_0.FromResult_MethodGroup.FromResult_1_T1
1361
- def __call__(self, result: FromResult_1_TResult) -> ValueTask_1[FromResult_1_TResult]:...
1362
-
1363
-
1364
-
1365
-
1366
- ValueTask_1_TResult = typing.TypeVar('ValueTask_1_TResult')
1367
- class ValueTask_1(typing.Generic[ValueTask_1_TResult], IEquatable_1[ValueTask_1[ValueTask_1_TResult]]):
1368
- @typing.overload
1369
- def __init__(self, result: ValueTask_1_TResult) -> None: ...
1370
- @typing.overload
1371
- def __init__(self, source: IValueTaskSource_1[ValueTask_1_TResult], token: int) -> None: ...
1372
- @typing.overload
1373
- def __init__(self, task: Task_1[ValueTask_1_TResult]) -> None: ...
1374
- @property
1375
- def IsCanceled(self) -> bool: ...
1376
- @property
1377
- def IsCompleted(self) -> bool: ...
1378
- @property
1379
- def IsCompletedSuccessfully(self) -> bool: ...
1380
- @property
1381
- def IsFaulted(self) -> bool: ...
1382
- @property
1383
- def Result(self) -> ValueTask_1_TResult: ...
1384
- def AsTask(self) -> Task_1[ValueTask_1_TResult]: ...
1385
- def ConfigureAwait(self, continueOnCapturedContext: bool) -> ConfiguredValueTaskAwaitable_1[ValueTask_1_TResult]: ...
1386
- def GetAwaiter(self) -> ValueTaskAwaiter_1[ValueTask_1_TResult]: ...
1387
- def GetHashCode(self) -> int: ...
1388
- def __eq__(self, left: ValueTask_1[ValueTask_1_TResult], right: ValueTask_1[ValueTask_1_TResult]) -> bool: ...
1389
- def __ne__(self, left: ValueTask_1[ValueTask_1_TResult], right: ValueTask_1[ValueTask_1_TResult]) -> bool: ...
1390
- def Preserve(self) -> ValueTask_1[ValueTask_1_TResult]: ...
1391
- def ToString(self) -> str: ...
1392
- # Skipped Equals due to it being static, abstract and generic.
1393
-
1394
- Equals : Equals_MethodGroup[ValueTask_1_TResult]
1395
- Equals_MethodGroup_ValueTask_1_TResult = typing.TypeVar('Equals_MethodGroup_ValueTask_1_TResult')
1396
- class Equals_MethodGroup(typing.Generic[Equals_MethodGroup_ValueTask_1_TResult]):
1397
- Equals_MethodGroup_ValueTask_1_TResult = ValueTask_1.Equals_MethodGroup_ValueTask_1_TResult
1398
- @typing.overload
1399
- def __call__(self, other: ValueTask_1[Equals_MethodGroup_ValueTask_1_TResult]) -> bool:...
1400
- @typing.overload
1401
- def __call__(self, obj: typing.Any) -> bool:...
1402
-
1403
-