@tsonic/dotnet 0.5.2 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Internal/internal/index.d.ts +5 -5
- package/Microsoft.CSharp.RuntimeBinder/internal/index.d.ts +14 -14
- package/Microsoft.VisualBasic/bindings.json +28 -28
- package/Microsoft.VisualBasic/internal/index.d.ts +265 -265
- package/Microsoft.VisualBasic/internal/metadata.json +14 -14
- package/Microsoft.VisualBasic.CompilerServices/internal/index.d.ts +202 -202
- package/Microsoft.VisualBasic.FileIO/internal/index.d.ts +68 -66
- package/Microsoft.Win32/internal/index.d.ts +16 -14
- package/Microsoft.Win32.SafeHandles/internal/index.d.ts +18 -18
- package/README.md +39 -0
- package/System/bindings.json +138 -138
- package/System/internal/index.d.ts +4165 -3967
- package/System/internal/metadata.json +81 -487
- package/System.Buffers/internal/index.d.ts +60 -50
- package/System.Buffers.Binary/internal/index.d.ts +126 -126
- package/System.Buffers.Text/internal/index.d.ts +67 -67
- package/System.CodeDom.Compiler/internal/index.d.ts +35 -35
- package/System.Collections/internal/index.d.ts +199 -179
- package/System.Collections.Concurrent/internal/index.d.ts +61 -59
- package/System.Collections.Frozen/internal/index.d.ts +29 -29
- package/System.Collections.Frozen/internal/metadata.json +2 -16
- package/System.Collections.Generic/index.d.ts +1 -1
- package/System.Collections.Generic/internal/index.d.ts +382 -354
- package/System.Collections.Generic/internal/metadata.json +5 -54
- package/System.Collections.Immutable/internal/index.d.ts +321 -319
- package/System.Collections.Immutable/internal/metadata.json +5 -40
- package/System.Collections.ObjectModel/internal/index.d.ts +83 -79
- package/System.Collections.ObjectModel/internal/metadata.json +1 -36
- package/System.Collections.Specialized/internal/index.d.ts +104 -96
- package/System.ComponentModel/internal/index.d.ts +661 -631
- package/System.ComponentModel/internal/metadata.json +0 -7
- package/System.ComponentModel.DataAnnotations/internal/index.d.ts +60 -58
- package/System.ComponentModel.Design/bindings.json +2 -2
- package/System.ComponentModel.Design/internal/index.d.ts +207 -193
- package/System.ComponentModel.Design/internal/metadata.json +1 -1
- package/System.ComponentModel.Design.Serialization/index.d.ts +2 -2
- package/System.ComponentModel.Design.Serialization/internal/index.d.ts +103 -98
- package/System.Configuration.Assemblies/bindings.json +10 -10
- package/System.Configuration.Assemblies/internal/index.d.ts +5 -5
- package/System.Configuration.Assemblies/internal/metadata.json +5 -5
- package/System.Data/internal/index.d.ts +481 -453
- package/System.Data.Common/internal/index.d.ts +149 -121
- package/System.Data.SqlTypes/bindings.json +2 -2
- package/System.Data.SqlTypes/internal/index.d.ts +331 -299
- package/System.Data.SqlTypes/internal/metadata.json +1 -1
- package/System.Diagnostics/bindings.json +6 -6
- package/System.Diagnostics/internal/index.d.ts +333 -313
- package/System.Diagnostics/internal/metadata.json +3 -10
- package/System.Diagnostics.CodeAnalysis/internal/index.d.ts +16 -16
- package/System.Diagnostics.Contracts/internal/index.d.ts +21 -21
- package/System.Diagnostics.Metrics/internal/index.d.ts +81 -75
- package/System.Diagnostics.SymbolStore/bindings.json +6 -6
- package/System.Diagnostics.SymbolStore/internal/index.d.ts +72 -72
- package/System.Diagnostics.SymbolStore/internal/metadata.json +3 -3
- package/System.Diagnostics.Tracing/internal/index.d.ts +24 -18
- package/System.Drawing/bindings.json +24 -24
- package/System.Drawing/internal/index.d.ts +281 -281
- package/System.Drawing/internal/metadata.json +12 -12
- package/System.Dynamic/internal/index.d.ts +46 -42
- package/System.Formats.Asn1/bindings.json +12 -12
- package/System.Formats.Asn1/internal/index.d.ts +50 -48
- package/System.Formats.Asn1/internal/metadata.json +6 -6
- package/System.Formats.Tar/bindings.json +2 -2
- package/System.Formats.Tar/internal/index.d.ts +17 -13
- package/System.Formats.Tar/internal/metadata.json +1 -1
- package/System.Globalization/bindings.json +8 -8
- package/System.Globalization/internal/index.d.ts +177 -163
- package/System.Globalization/internal/metadata.json +4 -4
- package/System.IO/internal/index.d.ts +457 -439
- package/System.IO.Compression/internal/index.d.ts +78 -72
- package/System.IO.Enumeration/internal/index.d.ts +22 -22
- package/System.IO.IsolatedStorage/internal/index.d.ts +26 -24
- package/System.IO.MemoryMappedFiles/internal/index.d.ts +22 -20
- package/System.IO.Pipelines/internal/index.d.ts +15 -13
- package/System.IO.Pipes/internal/index.d.ts +23 -23
- package/System.Linq/internal/index.d.ts +853 -845
- package/System.Linq/internal/metadata.json +0 -17
- package/System.Linq.Expressions/internal/index.d.ts +354 -340
- package/System.Linq.Expressions.Interpreter/internal/index.d.ts +2 -2
- package/System.Net/bindings.json +2 -2
- package/System.Net/internal/index.d.ts +351 -317
- package/System.Net/internal/metadata.json +1 -1
- package/System.Net.Http/internal/index.d.ts +64 -54
- package/System.Net.Http.Headers/bindings.json +2 -2
- package/System.Net.Http.Headers/internal/index.d.ts +139 -99
- package/System.Net.Http.Headers/internal/metadata.json +1 -1
- package/System.Net.Http.Json/internal/index.d.ts +63 -63
- package/System.Net.Http.Metrics/internal/index.d.ts +2 -2
- package/System.Net.Mail/bindings.json +2 -2
- package/System.Net.Mail/internal/index.d.ts +90 -78
- package/System.Net.Mail/internal/metadata.json +4 -32
- package/System.Net.Mime/internal/index.d.ts +51 -51
- package/System.Net.NetworkInformation/internal/index.d.ts +59 -57
- package/System.Net.Quic/internal/index.d.ts +15 -11
- package/System.Net.Security/bindings.json +674 -674
- package/System.Net.Security/internal/index.d.ts +396 -394
- package/System.Net.Security/internal/metadata.json +337 -337
- package/System.Net.ServerSentEvents/internal/index.d.ts +10 -10
- package/System.Net.Sockets/bindings.json +10 -10
- package/System.Net.Sockets/internal/index.d.ts +100 -90
- package/System.Net.Sockets/internal/metadata.json +5 -5
- package/System.Net.WebSockets/internal/index.d.ts +21 -19
- package/System.Numerics/bindings.json +110 -110
- package/System.Numerics/internal/index.d.ts +1057 -1039
- package/System.Numerics/internal/metadata.json +55 -89
- package/System.Reflection/bindings.json +25 -25
- package/System.Reflection/internal/index.d.ts +336 -316
- package/System.Reflection/internal/metadata.json +12 -12
- package/System.Reflection.Emit/bindings.json +307 -307
- package/System.Reflection.Emit/internal/index.d.ts +242 -236
- package/System.Reflection.Emit/internal/metadata.json +152 -152
- package/System.Reflection.Metadata/bindings.json +272 -272
- package/System.Reflection.Metadata/internal/index.d.ts +448 -438
- package/System.Reflection.Metadata/internal/metadata.json +164 -360
- package/System.Reflection.Metadata.Ecma335/internal/index.d.ts +91 -91
- package/System.Reflection.PortableExecutable/bindings.json +26 -26
- package/System.Reflection.PortableExecutable/internal/index.d.ts +22 -20
- package/System.Reflection.PortableExecutable/internal/metadata.json +13 -13
- package/System.Resources/internal/index.d.ts +30 -24
- package/System.Runtime/internal/index.d.ts +20 -16
- package/System.Runtime.CompilerServices/bindings.json +4 -4
- package/System.Runtime.CompilerServices/internal/index.d.ts +233 -209
- package/System.Runtime.CompilerServices/internal/metadata.json +2 -2
- package/System.Runtime.ExceptionServices/internal/index.d.ts +6 -6
- package/System.Runtime.InteropServices/bindings.json +146 -146
- package/System.Runtime.InteropServices/internal/index.d.ts +604 -586
- package/System.Runtime.InteropServices/internal/metadata.json +73 -130
- package/System.Runtime.InteropServices.ComTypes/bindings.json +252 -252
- package/System.Runtime.InteropServices.ComTypes/internal/index.d.ts +296 -292
- package/System.Runtime.InteropServices.ComTypes/internal/metadata.json +126 -126
- package/System.Runtime.InteropServices.Java/internal/index.d.ts +12 -12
- package/System.Runtime.InteropServices.JavaScript/internal/index.d.ts +60 -58
- package/System.Runtime.InteropServices.Marshalling/internal/index.d.ts +102 -94
- package/System.Runtime.InteropServices.ObjectiveC/internal/index.d.ts +9 -9
- package/System.Runtime.InteropServices.Swift/internal/index.d.ts +1 -1
- package/System.Runtime.Intrinsics/internal/index.d.ts +1252 -1244
- package/System.Runtime.Intrinsics.Arm/internal/index.d.ts +9662 -9662
- package/System.Runtime.Intrinsics.Wasm/internal/index.d.ts +471 -471
- package/System.Runtime.Intrinsics.X86/internal/index.d.ts +16033 -16033
- package/System.Runtime.Loader/internal/index.d.ts +9 -7
- package/System.Runtime.Remoting/internal/index.d.ts +2 -2
- package/System.Runtime.Serialization/internal/index.d.ts +179 -171
- package/System.Runtime.Serialization.DataContracts/internal/index.d.ts +5 -5
- package/System.Runtime.Serialization.Formatters/internal/index.d.ts +2 -2
- package/System.Runtime.Serialization.Formatters.Binary/internal/index.d.ts +5 -3
- package/System.Runtime.Serialization.Json/internal/index.d.ts +27 -27
- package/System.Runtime.Versioning/internal/index.d.ts +4 -4
- package/System.Security/internal/index.d.ts +45 -39
- package/System.Security.AccessControl/internal/index.d.ts +28 -26
- package/System.Security.Authentication/internal/index.d.ts +2 -2
- package/System.Security.Authentication.ExtendedProtection/internal/index.d.ts +11 -7
- package/System.Security.Claims/internal/index.d.ts +94 -90
- package/System.Security.Cryptography/bindings.json +111 -111
- package/System.Security.Cryptography/internal/index.d.ts +842 -794
- package/System.Security.Cryptography/internal/metadata.json +52 -59
- package/System.Security.Cryptography.X509Certificates/internal/index.d.ts +121 -113
- package/System.Security.Policy/internal/index.d.ts +6 -6
- package/System.Security.Principal/internal/index.d.ts +36 -30
- package/System.Text/bindings.json +28 -28
- package/System.Text/internal/index.d.ts +325 -319
- package/System.Text/internal/metadata.json +4 -4
- package/System.Text.Encodings.Web/internal/index.d.ts +18 -18
- package/System.Text.Json/internal/index.d.ts +184 -180
- package/System.Text.Json.Nodes/internal/index.d.ts +54 -54
- package/System.Text.Json.Schema/internal/index.d.ts +3 -3
- package/System.Text.Json.Serialization/internal/index.d.ts +12 -12
- package/System.Text.Json.Serialization.Metadata/internal/index.d.ts +85 -83
- package/System.Text.RegularExpressions/internal/index.d.ts +91 -89
- package/System.Text.RegularExpressions/internal/metadata.json +5 -40
- package/System.Text.Unicode/internal/index.d.ts +171 -171
- package/System.Threading/bindings.json +4 -4
- package/System.Threading/internal/index.d.ts +411 -377
- package/System.Threading/internal/metadata.json +2 -2
- package/System.Threading.Channels/internal/index.d.ts +8 -8
- package/System.Threading.Tasks/internal/index.d.ts +209 -205
- package/System.Threading.Tasks.Dataflow/internal/index.d.ts +106 -102
- package/System.Threading.Tasks.Dataflow/internal/metadata.json +0 -42
- package/System.Threading.Tasks.Sources/internal/index.d.ts +7 -7
- package/System.Timers/internal/index.d.ts +11 -9
- package/System.Transactions/internal/index.d.ts +83 -67
- package/System.Web/internal/index.d.ts +31 -31
- package/System.Windows.Input/internal/index.d.ts +2 -2
- package/System.Xml/bindings.json +35 -35
- package/System.Xml/internal/index.d.ts +343 -325
- package/System.Xml/internal/metadata.json +17 -17
- package/System.Xml.Linq/internal/index.d.ts +122 -110
- package/System.Xml.Resolvers/internal/index.d.ts +3 -3
- package/System.Xml.Schema/internal/index.d.ts +71 -71
- package/System.Xml.Serialization/internal/index.d.ts +120 -120
- package/System.Xml.XPath/internal/index.d.ts +40 -34
- package/System.Xml.Xsl/internal/index.d.ts +27 -27
- package/System.Xml.Xsl.Runtime/internal/index.d.ts +99 -99
- package/__internal/extensions/index.d.ts +2294 -0
- package/package.json +1 -1
- package/internal/extensions/index.d.ts +0 -2280
|
@@ -111,22 +111,22 @@ export class ValueTask$instance {
|
|
|
111
111
|
readonly isFaulted: boolean;
|
|
112
112
|
asTask(): Task;
|
|
113
113
|
configureAwait(continueOnCapturedContext: boolean): ConfiguredValueTaskAwaitable;
|
|
114
|
-
equals(obj:
|
|
114
|
+
equals(obj: unknown): boolean;
|
|
115
115
|
equals(other: ValueTask): boolean;
|
|
116
116
|
getAwaiter(): ValueTaskAwaiter;
|
|
117
117
|
getHashCode(): int;
|
|
118
118
|
preserve(): ValueTask;
|
|
119
|
-
static readonly
|
|
120
|
-
static
|
|
121
|
-
static
|
|
122
|
-
static
|
|
123
|
-
static
|
|
124
|
-
static
|
|
119
|
+
static readonly completedTask: ValueTask;
|
|
120
|
+
static fromCanceled(cancellationToken: CancellationToken): ValueTask;
|
|
121
|
+
static fromCanceled<TResult>(cancellationToken: CancellationToken): ValueTask_1<TResult>;
|
|
122
|
+
static fromException(exception: Exception): ValueTask;
|
|
123
|
+
static fromException<TResult>(exception: Exception): ValueTask_1<TResult>;
|
|
124
|
+
static fromResult<TResult>(result: TResult): ValueTask_1<TResult>;
|
|
125
125
|
}
|
|
126
126
|
|
|
127
127
|
|
|
128
128
|
export interface __ValueTask$views {
|
|
129
|
-
|
|
129
|
+
As_IEquatable_1(): System_Internal.IEquatable_1$instance<ValueTask>;
|
|
130
130
|
|
|
131
131
|
// Structural method bridges for numeric interface constraints
|
|
132
132
|
Equals(other: ValueTask): boolean;
|
|
@@ -146,7 +146,7 @@ export class ValueTask_1$instance<TResult> {
|
|
|
146
146
|
readonly result: TResult;
|
|
147
147
|
asTask(): Task_1<TResult>;
|
|
148
148
|
configureAwait(continueOnCapturedContext: boolean): ConfiguredValueTaskAwaitable_1<TResult>;
|
|
149
|
-
equals(obj:
|
|
149
|
+
equals(obj: unknown): boolean;
|
|
150
150
|
equals(other: ValueTask_1<TResult>): boolean;
|
|
151
151
|
getAwaiter(): ValueTaskAwaiter_1<TResult>;
|
|
152
152
|
getHashCode(): int;
|
|
@@ -156,7 +156,7 @@ export class ValueTask_1$instance<TResult> {
|
|
|
156
156
|
|
|
157
157
|
|
|
158
158
|
export interface __ValueTask_1$views<TResult> {
|
|
159
|
-
|
|
159
|
+
As_IEquatable_1(): System_Internal.IEquatable_1$instance<ValueTask_1<TResult>>;
|
|
160
160
|
|
|
161
161
|
// Structural method bridges for numeric interface constraints
|
|
162
162
|
Equals(other: ValueTask_1<TResult>): boolean;
|
|
@@ -206,11 +206,11 @@ export class Task$instance {
|
|
|
206
206
|
constructor(action: Action, cancellationToken: CancellationToken);
|
|
207
207
|
constructor(action: Action, creationOptions: TaskCreationOptions);
|
|
208
208
|
constructor(action: Action, cancellationToken: CancellationToken, creationOptions: TaskCreationOptions);
|
|
209
|
-
constructor(action: Action_1<
|
|
210
|
-
constructor(action: Action_1<
|
|
211
|
-
constructor(action: Action_1<
|
|
212
|
-
constructor(action: Action_1<
|
|
213
|
-
readonly asyncState:
|
|
209
|
+
constructor(action: Action_1<unknown>, state: unknown);
|
|
210
|
+
constructor(action: Action_1<unknown>, state: unknown, cancellationToken: CancellationToken);
|
|
211
|
+
constructor(action: Action_1<unknown>, state: unknown, creationOptions: TaskCreationOptions);
|
|
212
|
+
constructor(action: Action_1<unknown>, state: unknown, cancellationToken: CancellationToken, creationOptions: TaskCreationOptions);
|
|
213
|
+
readonly asyncState: unknown;
|
|
214
214
|
readonly creationOptions: TaskCreationOptions;
|
|
215
215
|
readonly exception: AggregateException;
|
|
216
216
|
readonly id: int;
|
|
@@ -226,21 +226,21 @@ export class Task$instance {
|
|
|
226
226
|
continueWith(continuationAction: Action_1<Task>, scheduler: TaskScheduler): Task;
|
|
227
227
|
continueWith(continuationAction: Action_1<Task>, continuationOptions: TaskContinuationOptions): Task;
|
|
228
228
|
continueWith(continuationAction: Action_1<Task>, cancellationToken: CancellationToken, continuationOptions: TaskContinuationOptions, scheduler: TaskScheduler): Task;
|
|
229
|
-
continueWith(continuationAction: Action_2<Task,
|
|
230
|
-
continueWith(continuationAction: Action_2<Task,
|
|
231
|
-
continueWith(continuationAction: Action_2<Task,
|
|
232
|
-
continueWith(continuationAction: Action_2<Task,
|
|
233
|
-
continueWith(continuationAction: Action_2<Task,
|
|
229
|
+
continueWith(continuationAction: Action_2<Task, unknown>, state: unknown): Task;
|
|
230
|
+
continueWith(continuationAction: Action_2<Task, unknown>, state: unknown, cancellationToken: CancellationToken): Task;
|
|
231
|
+
continueWith(continuationAction: Action_2<Task, unknown>, state: unknown, scheduler: TaskScheduler): Task;
|
|
232
|
+
continueWith(continuationAction: Action_2<Task, unknown>, state: unknown, continuationOptions: TaskContinuationOptions): Task;
|
|
233
|
+
continueWith(continuationAction: Action_2<Task, unknown>, state: unknown, cancellationToken: CancellationToken, continuationOptions: TaskContinuationOptions, scheduler: TaskScheduler): Task;
|
|
234
234
|
continueWith<TResult>(continuationFunction: Func_2<Task, TResult>): Task_1<TResult>;
|
|
235
235
|
continueWith<TResult>(continuationFunction: Func_2<Task, TResult>, cancellationToken: CancellationToken): Task_1<TResult>;
|
|
236
236
|
continueWith<TResult>(continuationFunction: Func_2<Task, TResult>, scheduler: TaskScheduler): Task_1<TResult>;
|
|
237
237
|
continueWith<TResult>(continuationFunction: Func_2<Task, TResult>, continuationOptions: TaskContinuationOptions): Task_1<TResult>;
|
|
238
238
|
continueWith<TResult>(continuationFunction: Func_2<Task, TResult>, cancellationToken: CancellationToken, continuationOptions: TaskContinuationOptions, scheduler: TaskScheduler): Task_1<TResult>;
|
|
239
|
-
continueWith<TResult>(continuationFunction: Func_3<Task,
|
|
240
|
-
continueWith<TResult>(continuationFunction: Func_3<Task,
|
|
241
|
-
continueWith<TResult>(continuationFunction: Func_3<Task,
|
|
242
|
-
continueWith<TResult>(continuationFunction: Func_3<Task,
|
|
243
|
-
continueWith<TResult>(continuationFunction: Func_3<Task,
|
|
239
|
+
continueWith<TResult>(continuationFunction: Func_3<Task, unknown, TResult>, state: unknown): Task_1<TResult>;
|
|
240
|
+
continueWith<TResult>(continuationFunction: Func_3<Task, unknown, TResult>, state: unknown, cancellationToken: CancellationToken): Task_1<TResult>;
|
|
241
|
+
continueWith<TResult>(continuationFunction: Func_3<Task, unknown, TResult>, state: unknown, scheduler: TaskScheduler): Task_1<TResult>;
|
|
242
|
+
continueWith<TResult>(continuationFunction: Func_3<Task, unknown, TResult>, state: unknown, continuationOptions: TaskContinuationOptions): Task_1<TResult>;
|
|
243
|
+
continueWith<TResult>(continuationFunction: Func_3<Task, unknown, TResult>, state: unknown, cancellationToken: CancellationToken, continuationOptions: TaskContinuationOptions, scheduler: TaskScheduler): Task_1<TResult>;
|
|
244
244
|
dispose(): void;
|
|
245
245
|
getAwaiter(): TaskAwaiter;
|
|
246
246
|
runSynchronously(): void;
|
|
@@ -258,67 +258,69 @@ export class Task$instance {
|
|
|
258
258
|
waitAsync(timeout: TimeSpan, timeProvider: TimeProvider): Task;
|
|
259
259
|
waitAsync(timeout: TimeSpan, cancellationToken: CancellationToken): Task;
|
|
260
260
|
waitAsync(timeout: TimeSpan, timeProvider: TimeProvider, cancellationToken: CancellationToken): Task;
|
|
261
|
-
static readonly
|
|
262
|
-
static readonly
|
|
263
|
-
static readonly
|
|
264
|
-
static
|
|
265
|
-
static
|
|
266
|
-
static
|
|
267
|
-
static
|
|
268
|
-
static
|
|
269
|
-
static
|
|
270
|
-
static
|
|
271
|
-
static
|
|
272
|
-
static
|
|
273
|
-
static
|
|
274
|
-
static
|
|
275
|
-
static
|
|
276
|
-
static
|
|
277
|
-
static
|
|
278
|
-
static
|
|
279
|
-
static
|
|
280
|
-
static
|
|
281
|
-
static
|
|
282
|
-
static
|
|
283
|
-
static
|
|
284
|
-
static
|
|
285
|
-
static
|
|
286
|
-
static
|
|
287
|
-
static
|
|
288
|
-
static
|
|
289
|
-
static
|
|
290
|
-
static
|
|
291
|
-
static
|
|
292
|
-
static
|
|
293
|
-
static
|
|
294
|
-
static
|
|
295
|
-
static
|
|
296
|
-
static
|
|
297
|
-
static
|
|
298
|
-
static
|
|
299
|
-
static
|
|
300
|
-
static
|
|
301
|
-
static
|
|
302
|
-
static
|
|
303
|
-
static
|
|
304
|
-
static
|
|
305
|
-
static
|
|
306
|
-
static
|
|
307
|
-
static
|
|
308
|
-
static
|
|
309
|
-
static
|
|
310
|
-
static
|
|
311
|
-
static
|
|
312
|
-
static
|
|
313
|
-
static
|
|
261
|
+
static readonly currentId: Nullable_1<CLROf<int>>;
|
|
262
|
+
static readonly factory: TaskFactory;
|
|
263
|
+
static readonly completedTask: Task;
|
|
264
|
+
static delay6(millisecondsDelay: int, cancellationToken: CancellationToken): Task;
|
|
265
|
+
static delay6(millisecondsDelay: int): Task;
|
|
266
|
+
static delay6(delay: TimeSpan, cancellationToken: CancellationToken): Task;
|
|
267
|
+
static delay6(delay: TimeSpan, timeProvider: TimeProvider, cancellationToken: CancellationToken): Task;
|
|
268
|
+
static delay6(delay: TimeSpan, timeProvider: TimeProvider): Task;
|
|
269
|
+
static delay6(delay: TimeSpan): Task;
|
|
270
|
+
static fromCanceled(cancellationToken: CancellationToken): Task;
|
|
271
|
+
static fromCanceled<TResult>(cancellationToken: CancellationToken): Task_1<TResult>;
|
|
272
|
+
static fromException(exception: Exception): Task;
|
|
273
|
+
static fromException<TResult>(exception: Exception): Task_1<TResult>;
|
|
274
|
+
static fromResult<TResult>(result: TResult): Task_1<TResult>;
|
|
275
|
+
static run4<TResult>(function_: Func_1<TResult>, cancellationToken: CancellationToken): Task_1<TResult>;
|
|
276
|
+
static run4<TResult>(function_: Func_1<TResult>): Task_1<TResult>;
|
|
277
|
+
static run4(action: Action, cancellationToken: CancellationToken): Task;
|
|
278
|
+
static run4(action: Action): Task;
|
|
279
|
+
static run4(function_: Func_1<Task>, cancellationToken: CancellationToken): Task;
|
|
280
|
+
static run4(function_: Func_1<Task>): Task;
|
|
281
|
+
static waitAll7(tasks: IEnumerable_1<Task>, cancellationToken?: CancellationToken): void;
|
|
282
|
+
static waitAll7(tasks: ReadOnlySpan_1<Task>): void;
|
|
283
|
+
static waitAll7(tasks: Task[], millisecondsTimeout: int, cancellationToken: CancellationToken): boolean;
|
|
284
|
+
static waitAll7(tasks: Task[], millisecondsTimeout: int): boolean;
|
|
285
|
+
static waitAll7(tasks: Task[], cancellationToken: CancellationToken): void;
|
|
286
|
+
static waitAll7(tasks: Task[], timeout: TimeSpan): boolean;
|
|
287
|
+
static waitAll7(tasks: Task[]): void;
|
|
288
|
+
static waitAny5(tasks: Task[], millisecondsTimeout: int, cancellationToken: CancellationToken): int;
|
|
289
|
+
static waitAny5(tasks: Task[], millisecondsTimeout: int): int;
|
|
290
|
+
static waitAny5(tasks: Task[], cancellationToken: CancellationToken): int;
|
|
291
|
+
static waitAny5(tasks: Task[], timeout: TimeSpan): int;
|
|
292
|
+
static waitAny5(tasks: Task[]): int;
|
|
293
|
+
static whenAll4<TResult>(tasks: IEnumerable_1<Task_1<TResult>>): Task_1<TResult[]>;
|
|
294
|
+
static whenAll4<TResult>(tasks: ReadOnlySpan_1<Task_1<TResult>>): Task_1<TResult[]>;
|
|
295
|
+
static whenAll4(tasks: IEnumerable_1<Task>): Task;
|
|
296
|
+
static whenAll4(tasks: ReadOnlySpan_1<Task>): Task;
|
|
297
|
+
static whenAll4(tasks: Task[]): Task;
|
|
298
|
+
static whenAll4<TResult>(tasks: Task_1<TResult>[]): Task_1<TResult[]>;
|
|
299
|
+
static whenAny8<TResult>(tasks: IEnumerable_1<Task_1<TResult>>): Task_1<Task_1<TResult>>;
|
|
300
|
+
static whenAny8<TResult>(tasks: ReadOnlySpan_1<Task_1<TResult>>): Task_1<Task_1<TResult>>;
|
|
301
|
+
static whenAny8(tasks: IEnumerable_1<Task>): Task_1<Task>;
|
|
302
|
+
static whenAny8(tasks: ReadOnlySpan_1<Task>): Task_1<Task>;
|
|
303
|
+
static whenAny8(task1: Task, task2: Task): Task_1<Task>;
|
|
304
|
+
static whenAny8(tasks: Task[]): Task_1<Task>;
|
|
305
|
+
static whenAny8<TResult>(task1: Task_1<TResult>, task2: Task_1<TResult>): Task_1<Task_1<TResult>>;
|
|
306
|
+
static whenAny8<TResult>(tasks: Task_1<TResult>[]): Task_1<Task_1<TResult>>;
|
|
307
|
+
static whenEach6<TResult>(tasks: IEnumerable_1<Task_1<TResult>>): IAsyncEnumerable_1<Task_1<TResult>>;
|
|
308
|
+
static whenEach6<TResult>(tasks: ReadOnlySpan_1<Task_1<TResult>>): IAsyncEnumerable_1<Task_1<TResult>>;
|
|
309
|
+
static whenEach6(tasks: IEnumerable_1<Task>): IAsyncEnumerable_1<Task>;
|
|
310
|
+
static whenEach6(tasks: ReadOnlySpan_1<Task>): IAsyncEnumerable_1<Task>;
|
|
311
|
+
static whenEach6(tasks: Task[]): IAsyncEnumerable_1<Task>;
|
|
312
|
+
static whenEach6<TResult>(tasks: Task_1<TResult>[]): IAsyncEnumerable_1<Task_1<TResult>>;
|
|
313
|
+
static yield_(): YieldAwaitable;
|
|
314
314
|
}
|
|
315
315
|
|
|
316
316
|
|
|
317
317
|
export interface __Task$views {
|
|
318
|
-
|
|
319
|
-
|
|
318
|
+
As_IAsyncResult(): System_Internal.IAsyncResult$instance;
|
|
319
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
320
320
|
}
|
|
321
321
|
|
|
322
|
+
export interface Task$instance extends System_Internal.IAsyncResult$instance, System_Internal.IDisposable$instance {}
|
|
323
|
+
|
|
322
324
|
export type Task = Task$instance & __Task$views;
|
|
323
325
|
|
|
324
326
|
|
|
@@ -327,10 +329,10 @@ export class Task_1$instance<TResult> extends Task$instance {
|
|
|
327
329
|
constructor(function_: Func_1<TResult>, cancellationToken: CancellationToken);
|
|
328
330
|
constructor(function_: Func_1<TResult>, creationOptions: TaskCreationOptions);
|
|
329
331
|
constructor(function_: Func_1<TResult>, cancellationToken: CancellationToken, creationOptions: TaskCreationOptions);
|
|
330
|
-
constructor(function_: Func_2<
|
|
331
|
-
constructor(function_: Func_2<
|
|
332
|
-
constructor(function_: Func_2<
|
|
333
|
-
constructor(function_: Func_2<
|
|
332
|
+
constructor(function_: Func_2<unknown, TResult>, state: unknown);
|
|
333
|
+
constructor(function_: Func_2<unknown, TResult>, state: unknown, cancellationToken: CancellationToken);
|
|
334
|
+
constructor(function_: Func_2<unknown, TResult>, state: unknown, creationOptions: TaskCreationOptions);
|
|
335
|
+
constructor(function_: Func_2<unknown, TResult>, state: unknown, cancellationToken: CancellationToken, creationOptions: TaskCreationOptions);
|
|
334
336
|
readonly result: TResult;
|
|
335
337
|
configureAwait(continueOnCapturedContext: boolean): ConfiguredTaskAwaitable;
|
|
336
338
|
configureAwait(options: ConfigureAwaitOptions): ConfiguredTaskAwaitable;
|
|
@@ -339,41 +341,41 @@ export class Task_1$instance<TResult> extends Task$instance {
|
|
|
339
341
|
continueWith(continuationAction: Action_1<Task_1<TResult>>, scheduler: TaskScheduler): Task;
|
|
340
342
|
continueWith(continuationAction: Action_1<Task_1<TResult>>, continuationOptions: TaskContinuationOptions): Task;
|
|
341
343
|
continueWith(continuationAction: Action_1<Task_1<TResult>>, cancellationToken: CancellationToken, continuationOptions: TaskContinuationOptions, scheduler: TaskScheduler): Task;
|
|
342
|
-
continueWith(continuationAction: Action_2<Task_1<TResult>,
|
|
343
|
-
continueWith(continuationAction: Action_2<Task_1<TResult>,
|
|
344
|
-
continueWith(continuationAction: Action_2<Task_1<TResult>,
|
|
345
|
-
continueWith(continuationAction: Action_2<Task_1<TResult>,
|
|
346
|
-
continueWith(continuationAction: Action_2<Task_1<TResult>,
|
|
344
|
+
continueWith(continuationAction: Action_2<Task_1<TResult>, unknown>, state: unknown): Task;
|
|
345
|
+
continueWith(continuationAction: Action_2<Task_1<TResult>, unknown>, state: unknown, cancellationToken: CancellationToken): Task;
|
|
346
|
+
continueWith(continuationAction: Action_2<Task_1<TResult>, unknown>, state: unknown, scheduler: TaskScheduler): Task;
|
|
347
|
+
continueWith(continuationAction: Action_2<Task_1<TResult>, unknown>, state: unknown, continuationOptions: TaskContinuationOptions): Task;
|
|
348
|
+
continueWith(continuationAction: Action_2<Task_1<TResult>, unknown>, state: unknown, cancellationToken: CancellationToken, continuationOptions: TaskContinuationOptions, scheduler: TaskScheduler): Task;
|
|
347
349
|
continueWith<TNewResult>(continuationFunction: Func_2<Task_1<TResult>, TNewResult>): Task_1<TNewResult>;
|
|
348
350
|
continueWith<TNewResult>(continuationFunction: Func_2<Task_1<TResult>, TNewResult>, cancellationToken: CancellationToken): Task_1<TNewResult>;
|
|
349
351
|
continueWith<TNewResult>(continuationFunction: Func_2<Task_1<TResult>, TNewResult>, scheduler: TaskScheduler): Task_1<TNewResult>;
|
|
350
352
|
continueWith<TNewResult>(continuationFunction: Func_2<Task_1<TResult>, TNewResult>, continuationOptions: TaskContinuationOptions): Task_1<TNewResult>;
|
|
351
353
|
continueWith<TNewResult>(continuationFunction: Func_2<Task_1<TResult>, TNewResult>, cancellationToken: CancellationToken, continuationOptions: TaskContinuationOptions, scheduler: TaskScheduler): Task_1<TNewResult>;
|
|
352
|
-
continueWith<TNewResult>(continuationFunction: Func_3<Task_1<TResult>,
|
|
353
|
-
continueWith<TNewResult>(continuationFunction: Func_3<Task_1<TResult>,
|
|
354
|
-
continueWith<TNewResult>(continuationFunction: Func_3<Task_1<TResult>,
|
|
355
|
-
continueWith<TNewResult>(continuationFunction: Func_3<Task_1<TResult>,
|
|
356
|
-
continueWith<TNewResult>(continuationFunction: Func_3<Task_1<TResult>,
|
|
354
|
+
continueWith<TNewResult>(continuationFunction: Func_3<Task_1<TResult>, unknown, TNewResult>, state: unknown): Task_1<TNewResult>;
|
|
355
|
+
continueWith<TNewResult>(continuationFunction: Func_3<Task_1<TResult>, unknown, TNewResult>, state: unknown, cancellationToken: CancellationToken): Task_1<TNewResult>;
|
|
356
|
+
continueWith<TNewResult>(continuationFunction: Func_3<Task_1<TResult>, unknown, TNewResult>, state: unknown, scheduler: TaskScheduler): Task_1<TNewResult>;
|
|
357
|
+
continueWith<TNewResult>(continuationFunction: Func_3<Task_1<TResult>, unknown, TNewResult>, state: unknown, continuationOptions: TaskContinuationOptions): Task_1<TNewResult>;
|
|
358
|
+
continueWith<TNewResult>(continuationFunction: Func_3<Task_1<TResult>, unknown, TNewResult>, state: unknown, cancellationToken: CancellationToken, continuationOptions: TaskContinuationOptions, scheduler: TaskScheduler): Task_1<TNewResult>;
|
|
357
359
|
continueWith(continuationAction: Action_1<Task>): Task;
|
|
358
360
|
continueWith(continuationAction: Action_1<Task>, cancellationToken: CancellationToken): Task;
|
|
359
361
|
continueWith(continuationAction: Action_1<Task>, scheduler: TaskScheduler): Task;
|
|
360
362
|
continueWith(continuationAction: Action_1<Task>, continuationOptions: TaskContinuationOptions): Task;
|
|
361
363
|
continueWith(continuationAction: Action_1<Task>, cancellationToken: CancellationToken, continuationOptions: TaskContinuationOptions, scheduler: TaskScheduler): Task;
|
|
362
|
-
continueWith(continuationAction: Action_2<Task,
|
|
363
|
-
continueWith(continuationAction: Action_2<Task,
|
|
364
|
-
continueWith(continuationAction: Action_2<Task,
|
|
365
|
-
continueWith(continuationAction: Action_2<Task,
|
|
366
|
-
continueWith(continuationAction: Action_2<Task,
|
|
364
|
+
continueWith(continuationAction: Action_2<Task, unknown>, state: unknown): Task;
|
|
365
|
+
continueWith(continuationAction: Action_2<Task, unknown>, state: unknown, cancellationToken: CancellationToken): Task;
|
|
366
|
+
continueWith(continuationAction: Action_2<Task, unknown>, state: unknown, scheduler: TaskScheduler): Task;
|
|
367
|
+
continueWith(continuationAction: Action_2<Task, unknown>, state: unknown, continuationOptions: TaskContinuationOptions): Task;
|
|
368
|
+
continueWith(continuationAction: Action_2<Task, unknown>, state: unknown, cancellationToken: CancellationToken, continuationOptions: TaskContinuationOptions, scheduler: TaskScheduler): Task;
|
|
367
369
|
continueWith<TResult>(continuationFunction: Func_2<Task, TResult>): Task_1<TResult>;
|
|
368
370
|
continueWith<TResult>(continuationFunction: Func_2<Task, TResult>, cancellationToken: CancellationToken): Task_1<TResult>;
|
|
369
371
|
continueWith<TResult>(continuationFunction: Func_2<Task, TResult>, scheduler: TaskScheduler): Task_1<TResult>;
|
|
370
372
|
continueWith<TResult>(continuationFunction: Func_2<Task, TResult>, continuationOptions: TaskContinuationOptions): Task_1<TResult>;
|
|
371
373
|
continueWith<TResult>(continuationFunction: Func_2<Task, TResult>, cancellationToken: CancellationToken, continuationOptions: TaskContinuationOptions, scheduler: TaskScheduler): Task_1<TResult>;
|
|
372
|
-
continueWith<TResult>(continuationFunction: Func_3<Task,
|
|
373
|
-
continueWith<TResult>(continuationFunction: Func_3<Task,
|
|
374
|
-
continueWith<TResult>(continuationFunction: Func_3<Task,
|
|
375
|
-
continueWith<TResult>(continuationFunction: Func_3<Task,
|
|
376
|
-
continueWith<TResult>(continuationFunction: Func_3<Task,
|
|
374
|
+
continueWith<TResult>(continuationFunction: Func_3<Task, unknown, TResult>, state: unknown): Task_1<TResult>;
|
|
375
|
+
continueWith<TResult>(continuationFunction: Func_3<Task, unknown, TResult>, state: unknown, cancellationToken: CancellationToken): Task_1<TResult>;
|
|
376
|
+
continueWith<TResult>(continuationFunction: Func_3<Task, unknown, TResult>, state: unknown, scheduler: TaskScheduler): Task_1<TResult>;
|
|
377
|
+
continueWith<TResult>(continuationFunction: Func_3<Task, unknown, TResult>, state: unknown, continuationOptions: TaskContinuationOptions): Task_1<TResult>;
|
|
378
|
+
continueWith<TResult>(continuationFunction: Func_3<Task, unknown, TResult>, state: unknown, cancellationToken: CancellationToken, continuationOptions: TaskContinuationOptions, scheduler: TaskScheduler): Task_1<TResult>;
|
|
377
379
|
dispose(): void;
|
|
378
380
|
getAwaiter(): TaskAwaiter;
|
|
379
381
|
waitAsync(cancellationToken: CancellationToken): Task;
|
|
@@ -385,10 +387,12 @@ export class Task_1$instance<TResult> extends Task$instance {
|
|
|
385
387
|
|
|
386
388
|
|
|
387
389
|
export interface __Task_1$views<TResult> {
|
|
388
|
-
|
|
389
|
-
|
|
390
|
+
As_IAsyncResult(): System_Internal.IAsyncResult$instance;
|
|
391
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
390
392
|
}
|
|
391
393
|
|
|
394
|
+
export interface Task_1$instance<TResult> extends System_Internal.IAsyncResult$instance {}
|
|
395
|
+
|
|
392
396
|
export type Task_1<TResult> = Task_1$instance<TResult> & __Task_1$views<TResult>;
|
|
393
397
|
|
|
394
398
|
|
|
@@ -404,7 +408,7 @@ export class TaskCanceledException$instance extends System_Internal.OperationCan
|
|
|
404
408
|
|
|
405
409
|
|
|
406
410
|
export interface __TaskCanceledException$views {
|
|
407
|
-
|
|
411
|
+
As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
|
|
408
412
|
}
|
|
409
413
|
|
|
410
414
|
export type TaskCanceledException = TaskCanceledException$instance & __TaskCanceledException$views;
|
|
@@ -413,8 +417,8 @@ export type TaskCanceledException = TaskCanceledException$instance & __TaskCance
|
|
|
413
417
|
export class TaskCompletionSource$instance {
|
|
414
418
|
constructor();
|
|
415
419
|
constructor(creationOptions: TaskCreationOptions);
|
|
416
|
-
constructor(state:
|
|
417
|
-
constructor(state:
|
|
420
|
+
constructor(state: unknown);
|
|
421
|
+
constructor(state: unknown, creationOptions: TaskCreationOptions);
|
|
418
422
|
readonly task: Task;
|
|
419
423
|
setCanceled(): void;
|
|
420
424
|
setCanceled(cancellationToken: CancellationToken): void;
|
|
@@ -436,8 +440,8 @@ export type TaskCompletionSource = TaskCompletionSource$instance;
|
|
|
436
440
|
export class TaskCompletionSource_1$instance<TResult> {
|
|
437
441
|
constructor();
|
|
438
442
|
constructor(creationOptions: TaskCreationOptions);
|
|
439
|
-
constructor(state:
|
|
440
|
-
constructor(state:
|
|
443
|
+
constructor(state: unknown);
|
|
444
|
+
constructor(state: unknown, creationOptions: TaskCreationOptions);
|
|
441
445
|
readonly task: Task_1<TResult>;
|
|
442
446
|
setCanceled(): void;
|
|
443
447
|
setCanceled(cancellationToken: CancellationToken): void;
|
|
@@ -501,41 +505,41 @@ export class TaskFactory$instance {
|
|
|
501
505
|
fromAsync(asyncResult: IAsyncResult, endMethod: Action_1<IAsyncResult>): Task;
|
|
502
506
|
fromAsync(asyncResult: IAsyncResult, endMethod: Action_1<IAsyncResult>, creationOptions: TaskCreationOptions): Task;
|
|
503
507
|
fromAsync(asyncResult: IAsyncResult, endMethod: Action_1<IAsyncResult>, creationOptions: TaskCreationOptions, scheduler: TaskScheduler): Task;
|
|
504
|
-
fromAsync(beginMethod: Func_3<AsyncCallback,
|
|
505
|
-
fromAsync(beginMethod: Func_3<AsyncCallback,
|
|
506
|
-
fromAsync<TArg1>(beginMethod: Func_4<TArg1, AsyncCallback,
|
|
507
|
-
fromAsync<TArg1>(beginMethod: Func_4<TArg1, AsyncCallback,
|
|
508
|
-
fromAsync<TArg1, TArg2>(beginMethod: Func_5<TArg1, TArg2, AsyncCallback,
|
|
509
|
-
fromAsync<TArg1, TArg2>(beginMethod: Func_5<TArg1, TArg2, AsyncCallback,
|
|
510
|
-
fromAsync<TArg1, TArg2, TArg3>(beginMethod: Func_6<TArg1, TArg2, TArg3, AsyncCallback,
|
|
511
|
-
fromAsync<TArg1, TArg2, TArg3>(beginMethod: Func_6<TArg1, TArg2, TArg3, AsyncCallback,
|
|
508
|
+
fromAsync(beginMethod: Func_3<AsyncCallback, unknown, IAsyncResult>, endMethod: Action_1<IAsyncResult>, state: unknown): Task;
|
|
509
|
+
fromAsync(beginMethod: Func_3<AsyncCallback, unknown, IAsyncResult>, endMethod: Action_1<IAsyncResult>, state: unknown, creationOptions: TaskCreationOptions): Task;
|
|
510
|
+
fromAsync<TArg1>(beginMethod: Func_4<TArg1, AsyncCallback, unknown, IAsyncResult>, endMethod: Action_1<IAsyncResult>, arg1: TArg1, state: unknown): Task;
|
|
511
|
+
fromAsync<TArg1>(beginMethod: Func_4<TArg1, AsyncCallback, unknown, IAsyncResult>, endMethod: Action_1<IAsyncResult>, arg1: TArg1, state: unknown, creationOptions: TaskCreationOptions): Task;
|
|
512
|
+
fromAsync<TArg1, TArg2>(beginMethod: Func_5<TArg1, TArg2, AsyncCallback, unknown, IAsyncResult>, endMethod: Action_1<IAsyncResult>, arg1: TArg1, arg2: TArg2, state: unknown): Task;
|
|
513
|
+
fromAsync<TArg1, TArg2>(beginMethod: Func_5<TArg1, TArg2, AsyncCallback, unknown, IAsyncResult>, endMethod: Action_1<IAsyncResult>, arg1: TArg1, arg2: TArg2, state: unknown, creationOptions: TaskCreationOptions): Task;
|
|
514
|
+
fromAsync<TArg1, TArg2, TArg3>(beginMethod: Func_6<TArg1, TArg2, TArg3, AsyncCallback, unknown, IAsyncResult>, endMethod: Action_1<IAsyncResult>, arg1: TArg1, arg2: TArg2, arg3: TArg3, state: unknown): Task;
|
|
515
|
+
fromAsync<TArg1, TArg2, TArg3>(beginMethod: Func_6<TArg1, TArg2, TArg3, AsyncCallback, unknown, IAsyncResult>, endMethod: Action_1<IAsyncResult>, arg1: TArg1, arg2: TArg2, arg3: TArg3, state: unknown, creationOptions: TaskCreationOptions): Task;
|
|
512
516
|
fromAsync<TResult>(asyncResult: IAsyncResult, endMethod: Func_2<IAsyncResult, TResult>): Task_1<TResult>;
|
|
513
517
|
fromAsync<TResult>(asyncResult: IAsyncResult, endMethod: Func_2<IAsyncResult, TResult>, creationOptions: TaskCreationOptions): Task_1<TResult>;
|
|
514
518
|
fromAsync<TResult>(asyncResult: IAsyncResult, endMethod: Func_2<IAsyncResult, TResult>, creationOptions: TaskCreationOptions, scheduler: TaskScheduler): Task_1<TResult>;
|
|
515
|
-
fromAsync<TResult>(beginMethod: Func_3<AsyncCallback,
|
|
516
|
-
fromAsync<TResult>(beginMethod: Func_3<AsyncCallback,
|
|
517
|
-
fromAsync<TArg1, TResult>(beginMethod: Func_4<TArg1, AsyncCallback,
|
|
518
|
-
fromAsync<TArg1, TResult>(beginMethod: Func_4<TArg1, AsyncCallback,
|
|
519
|
-
fromAsync<TArg1, TArg2, TResult>(beginMethod: Func_5<TArg1, TArg2, AsyncCallback,
|
|
520
|
-
fromAsync<TArg1, TArg2, TResult>(beginMethod: Func_5<TArg1, TArg2, AsyncCallback,
|
|
521
|
-
fromAsync<TArg1, TArg2, TArg3, TResult>(beginMethod: Func_6<TArg1, TArg2, TArg3, AsyncCallback,
|
|
522
|
-
fromAsync<TArg1, TArg2, TArg3, TResult>(beginMethod: Func_6<TArg1, TArg2, TArg3, AsyncCallback,
|
|
519
|
+
fromAsync<TResult>(beginMethod: Func_3<AsyncCallback, unknown, IAsyncResult>, endMethod: Func_2<IAsyncResult, TResult>, state: unknown): Task_1<TResult>;
|
|
520
|
+
fromAsync<TResult>(beginMethod: Func_3<AsyncCallback, unknown, IAsyncResult>, endMethod: Func_2<IAsyncResult, TResult>, state: unknown, creationOptions: TaskCreationOptions): Task_1<TResult>;
|
|
521
|
+
fromAsync<TArg1, TResult>(beginMethod: Func_4<TArg1, AsyncCallback, unknown, IAsyncResult>, endMethod: Func_2<IAsyncResult, TResult>, arg1: TArg1, state: unknown): Task_1<TResult>;
|
|
522
|
+
fromAsync<TArg1, TResult>(beginMethod: Func_4<TArg1, AsyncCallback, unknown, IAsyncResult>, endMethod: Func_2<IAsyncResult, TResult>, arg1: TArg1, state: unknown, creationOptions: TaskCreationOptions): Task_1<TResult>;
|
|
523
|
+
fromAsync<TArg1, TArg2, TResult>(beginMethod: Func_5<TArg1, TArg2, AsyncCallback, unknown, IAsyncResult>, endMethod: Func_2<IAsyncResult, TResult>, arg1: TArg1, arg2: TArg2, state: unknown): Task_1<TResult>;
|
|
524
|
+
fromAsync<TArg1, TArg2, TResult>(beginMethod: Func_5<TArg1, TArg2, AsyncCallback, unknown, IAsyncResult>, endMethod: Func_2<IAsyncResult, TResult>, arg1: TArg1, arg2: TArg2, state: unknown, creationOptions: TaskCreationOptions): Task_1<TResult>;
|
|
525
|
+
fromAsync<TArg1, TArg2, TArg3, TResult>(beginMethod: Func_6<TArg1, TArg2, TArg3, AsyncCallback, unknown, IAsyncResult>, endMethod: Func_2<IAsyncResult, TResult>, arg1: TArg1, arg2: TArg2, arg3: TArg3, state: unknown): Task_1<TResult>;
|
|
526
|
+
fromAsync<TArg1, TArg2, TArg3, TResult>(beginMethod: Func_6<TArg1, TArg2, TArg3, AsyncCallback, unknown, IAsyncResult>, endMethod: Func_2<IAsyncResult, TResult>, arg1: TArg1, arg2: TArg2, arg3: TArg3, state: unknown, creationOptions: TaskCreationOptions): Task_1<TResult>;
|
|
523
527
|
startNew(action: Action): Task;
|
|
524
528
|
startNew(action: Action, cancellationToken: CancellationToken): Task;
|
|
525
529
|
startNew(action: Action, creationOptions: TaskCreationOptions): Task;
|
|
526
530
|
startNew(action: Action, cancellationToken: CancellationToken, creationOptions: TaskCreationOptions, scheduler: TaskScheduler): Task;
|
|
527
|
-
startNew(action: Action_1<
|
|
528
|
-
startNew(action: Action_1<
|
|
529
|
-
startNew(action: Action_1<
|
|
530
|
-
startNew(action: Action_1<
|
|
531
|
+
startNew(action: Action_1<unknown>, state: unknown): Task;
|
|
532
|
+
startNew(action: Action_1<unknown>, state: unknown, cancellationToken: CancellationToken): Task;
|
|
533
|
+
startNew(action: Action_1<unknown>, state: unknown, creationOptions: TaskCreationOptions): Task;
|
|
534
|
+
startNew(action: Action_1<unknown>, state: unknown, cancellationToken: CancellationToken, creationOptions: TaskCreationOptions, scheduler: TaskScheduler): Task;
|
|
531
535
|
startNew<TResult>(function_: Func_1<TResult>): Task_1<TResult>;
|
|
532
536
|
startNew<TResult>(function_: Func_1<TResult>, cancellationToken: CancellationToken): Task_1<TResult>;
|
|
533
537
|
startNew<TResult>(function_: Func_1<TResult>, creationOptions: TaskCreationOptions): Task_1<TResult>;
|
|
534
538
|
startNew<TResult>(function_: Func_1<TResult>, cancellationToken: CancellationToken, creationOptions: TaskCreationOptions, scheduler: TaskScheduler): Task_1<TResult>;
|
|
535
|
-
startNew<TResult>(function_: Func_2<
|
|
536
|
-
startNew<TResult>(function_: Func_2<
|
|
537
|
-
startNew<TResult>(function_: Func_2<
|
|
538
|
-
startNew<TResult>(function_: Func_2<
|
|
539
|
+
startNew<TResult>(function_: Func_2<unknown, TResult>, state: unknown): Task_1<TResult>;
|
|
540
|
+
startNew<TResult>(function_: Func_2<unknown, TResult>, state: unknown, cancellationToken: CancellationToken): Task_1<TResult>;
|
|
541
|
+
startNew<TResult>(function_: Func_2<unknown, TResult>, state: unknown, creationOptions: TaskCreationOptions): Task_1<TResult>;
|
|
542
|
+
startNew<TResult>(function_: Func_2<unknown, TResult>, state: unknown, cancellationToken: CancellationToken, creationOptions: TaskCreationOptions, scheduler: TaskScheduler): Task_1<TResult>;
|
|
539
543
|
}
|
|
540
544
|
|
|
541
545
|
|
|
@@ -570,22 +574,22 @@ export class TaskFactory_1$instance<TResult> {
|
|
|
570
574
|
fromAsync(asyncResult: IAsyncResult, endMethod: Func_2<IAsyncResult, TResult>): Task_1<TResult>;
|
|
571
575
|
fromAsync(asyncResult: IAsyncResult, endMethod: Func_2<IAsyncResult, TResult>, creationOptions: TaskCreationOptions): Task_1<TResult>;
|
|
572
576
|
fromAsync(asyncResult: IAsyncResult, endMethod: Func_2<IAsyncResult, TResult>, creationOptions: TaskCreationOptions, scheduler: TaskScheduler): Task_1<TResult>;
|
|
573
|
-
fromAsync(beginMethod: Func_3<AsyncCallback,
|
|
574
|
-
fromAsync(beginMethod: Func_3<AsyncCallback,
|
|
575
|
-
fromAsync<TArg1>(beginMethod: Func_4<TArg1, AsyncCallback,
|
|
576
|
-
fromAsync<TArg1>(beginMethod: Func_4<TArg1, AsyncCallback,
|
|
577
|
-
fromAsync<TArg1, TArg2>(beginMethod: Func_5<TArg1, TArg2, AsyncCallback,
|
|
578
|
-
fromAsync<TArg1, TArg2>(beginMethod: Func_5<TArg1, TArg2, AsyncCallback,
|
|
579
|
-
fromAsync<TArg1, TArg2, TArg3>(beginMethod: Func_6<TArg1, TArg2, TArg3, AsyncCallback,
|
|
580
|
-
fromAsync<TArg1, TArg2, TArg3>(beginMethod: Func_6<TArg1, TArg2, TArg3, AsyncCallback,
|
|
577
|
+
fromAsync(beginMethod: Func_3<AsyncCallback, unknown, IAsyncResult>, endMethod: Func_2<IAsyncResult, TResult>, state: unknown): Task_1<TResult>;
|
|
578
|
+
fromAsync(beginMethod: Func_3<AsyncCallback, unknown, IAsyncResult>, endMethod: Func_2<IAsyncResult, TResult>, state: unknown, creationOptions: TaskCreationOptions): Task_1<TResult>;
|
|
579
|
+
fromAsync<TArg1>(beginMethod: Func_4<TArg1, AsyncCallback, unknown, IAsyncResult>, endMethod: Func_2<IAsyncResult, TResult>, arg1: TArg1, state: unknown): Task_1<TResult>;
|
|
580
|
+
fromAsync<TArg1>(beginMethod: Func_4<TArg1, AsyncCallback, unknown, IAsyncResult>, endMethod: Func_2<IAsyncResult, TResult>, arg1: TArg1, state: unknown, creationOptions: TaskCreationOptions): Task_1<TResult>;
|
|
581
|
+
fromAsync<TArg1, TArg2>(beginMethod: Func_5<TArg1, TArg2, AsyncCallback, unknown, IAsyncResult>, endMethod: Func_2<IAsyncResult, TResult>, arg1: TArg1, arg2: TArg2, state: unknown): Task_1<TResult>;
|
|
582
|
+
fromAsync<TArg1, TArg2>(beginMethod: Func_5<TArg1, TArg2, AsyncCallback, unknown, IAsyncResult>, endMethod: Func_2<IAsyncResult, TResult>, arg1: TArg1, arg2: TArg2, state: unknown, creationOptions: TaskCreationOptions): Task_1<TResult>;
|
|
583
|
+
fromAsync<TArg1, TArg2, TArg3>(beginMethod: Func_6<TArg1, TArg2, TArg3, AsyncCallback, unknown, IAsyncResult>, endMethod: Func_2<IAsyncResult, TResult>, arg1: TArg1, arg2: TArg2, arg3: TArg3, state: unknown): Task_1<TResult>;
|
|
584
|
+
fromAsync<TArg1, TArg2, TArg3>(beginMethod: Func_6<TArg1, TArg2, TArg3, AsyncCallback, unknown, IAsyncResult>, endMethod: Func_2<IAsyncResult, TResult>, arg1: TArg1, arg2: TArg2, arg3: TArg3, state: unknown, creationOptions: TaskCreationOptions): Task_1<TResult>;
|
|
581
585
|
startNew(function_: Func_1<TResult>): Task_1<TResult>;
|
|
582
586
|
startNew(function_: Func_1<TResult>, cancellationToken: CancellationToken): Task_1<TResult>;
|
|
583
587
|
startNew(function_: Func_1<TResult>, creationOptions: TaskCreationOptions): Task_1<TResult>;
|
|
584
588
|
startNew(function_: Func_1<TResult>, cancellationToken: CancellationToken, creationOptions: TaskCreationOptions, scheduler: TaskScheduler): Task_1<TResult>;
|
|
585
|
-
startNew(function_: Func_2<
|
|
586
|
-
startNew(function_: Func_2<
|
|
587
|
-
startNew(function_: Func_2<
|
|
588
|
-
startNew(function_: Func_2<
|
|
589
|
+
startNew(function_: Func_2<unknown, TResult>, state: unknown): Task_1<TResult>;
|
|
590
|
+
startNew(function_: Func_2<unknown, TResult>, state: unknown, cancellationToken: CancellationToken): Task_1<TResult>;
|
|
591
|
+
startNew(function_: Func_2<unknown, TResult>, state: unknown, creationOptions: TaskCreationOptions): Task_1<TResult>;
|
|
592
|
+
startNew(function_: Func_2<unknown, TResult>, state: unknown, cancellationToken: CancellationToken, creationOptions: TaskCreationOptions, scheduler: TaskScheduler): Task_1<TResult>;
|
|
589
593
|
}
|
|
590
594
|
|
|
591
595
|
|
|
@@ -594,9 +598,9 @@ export type TaskFactory_1<TResult> = TaskFactory_1$instance<TResult>;
|
|
|
594
598
|
export abstract class TaskScheduler$instance {
|
|
595
599
|
readonly id: int;
|
|
596
600
|
readonly maximumConcurrencyLevel: int;
|
|
597
|
-
static readonly
|
|
598
|
-
static readonly
|
|
599
|
-
static
|
|
601
|
+
static readonly default_: TaskScheduler;
|
|
602
|
+
static readonly current: TaskScheduler;
|
|
603
|
+
static fromCurrentSynchronizationContext(): TaskScheduler;
|
|
600
604
|
}
|
|
601
605
|
|
|
602
606
|
|
|
@@ -612,7 +616,7 @@ export class TaskSchedulerException$instance extends System_Internal.Exception$i
|
|
|
612
616
|
|
|
613
617
|
|
|
614
618
|
export interface __TaskSchedulerException$views {
|
|
615
|
-
|
|
619
|
+
As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
|
|
616
620
|
}
|
|
617
621
|
|
|
618
622
|
export type TaskSchedulerException = TaskSchedulerException$instance & __TaskSchedulerException$views;
|
|
@@ -629,78 +633,78 @@ export class UnobservedTaskExceptionEventArgs$instance extends System_Internal.E
|
|
|
629
633
|
export type UnobservedTaskExceptionEventArgs = UnobservedTaskExceptionEventArgs$instance;
|
|
630
634
|
|
|
631
635
|
export abstract class Parallel$instance {
|
|
632
|
-
static
|
|
633
|
-
static
|
|
634
|
-
static
|
|
635
|
-
static
|
|
636
|
-
static
|
|
637
|
-
static
|
|
638
|
-
static
|
|
639
|
-
static
|
|
640
|
-
static
|
|
641
|
-
static
|
|
642
|
-
static
|
|
643
|
-
static
|
|
644
|
-
static
|
|
645
|
-
static
|
|
646
|
-
static
|
|
647
|
-
static
|
|
648
|
-
static
|
|
649
|
-
static
|
|
650
|
-
static
|
|
651
|
-
static
|
|
652
|
-
static
|
|
653
|
-
static
|
|
654
|
-
static
|
|
655
|
-
static
|
|
656
|
-
static
|
|
657
|
-
static
|
|
658
|
-
static
|
|
659
|
-
static
|
|
660
|
-
static
|
|
661
|
-
static
|
|
662
|
-
static
|
|
663
|
-
static
|
|
664
|
-
static
|
|
665
|
-
static
|
|
666
|
-
static
|
|
667
|
-
static
|
|
668
|
-
static
|
|
669
|
-
static
|
|
670
|
-
static
|
|
671
|
-
static
|
|
672
|
-
static
|
|
673
|
-
static
|
|
674
|
-
static
|
|
636
|
+
static for_9<TLocal>(fromInclusive: int, toExclusive: int, localInit: Func_1<TLocal>, body: Func_4<CLROf<int>, ParallelLoopState, TLocal, TLocal>, localFinally: Action_1<TLocal>): ParallelLoopResult;
|
|
637
|
+
static for_9(fromInclusive: int, toExclusive: int, body: Action_1<CLROf<int>>): ParallelLoopResult;
|
|
638
|
+
static for_9(fromInclusive: int, toExclusive: int, body: Action_2<CLROf<int>, ParallelLoopState>): ParallelLoopResult;
|
|
639
|
+
static for_9<TLocal>(fromInclusive: int, toExclusive: int, parallelOptions: ParallelOptions, localInit: Func_1<TLocal>, body: Func_4<CLROf<int>, ParallelLoopState, TLocal, TLocal>, localFinally: Action_1<TLocal>): ParallelLoopResult;
|
|
640
|
+
static for_9(fromInclusive: int, toExclusive: int, parallelOptions: ParallelOptions, body: Action_1<CLROf<int>>): ParallelLoopResult;
|
|
641
|
+
static for_9(fromInclusive: int, toExclusive: int, parallelOptions: ParallelOptions, body: Action_2<CLROf<int>, ParallelLoopState>): ParallelLoopResult;
|
|
642
|
+
static for_9<TLocal>(fromInclusive: long, toExclusive: long, localInit: Func_1<TLocal>, body: Func_4<CLROf<long>, ParallelLoopState, TLocal, TLocal>, localFinally: Action_1<TLocal>): ParallelLoopResult;
|
|
643
|
+
static for_9(fromInclusive: long, toExclusive: long, body: Action_1<CLROf<long>>): ParallelLoopResult;
|
|
644
|
+
static for_9(fromInclusive: long, toExclusive: long, body: Action_2<CLROf<long>, ParallelLoopState>): ParallelLoopResult;
|
|
645
|
+
static for_9<TLocal>(fromInclusive: long, toExclusive: long, parallelOptions: ParallelOptions, localInit: Func_1<TLocal>, body: Func_4<CLROf<long>, ParallelLoopState, TLocal, TLocal>, localFinally: Action_1<TLocal>): ParallelLoopResult;
|
|
646
|
+
static for_9(fromInclusive: long, toExclusive: long, parallelOptions: ParallelOptions, body: Action_1<CLROf<long>>): ParallelLoopResult;
|
|
647
|
+
static for_9(fromInclusive: long, toExclusive: long, parallelOptions: ParallelOptions, body: Action_2<CLROf<long>, ParallelLoopState>): ParallelLoopResult;
|
|
648
|
+
static forAsync<T extends IBinaryInteger_1<T>>(fromInclusive: T, toExclusive: T, body: Func_3<T, CancellationToken, ValueTask>): Task;
|
|
649
|
+
static forAsync<T extends IBinaryInteger_1<T>>(fromInclusive: T, toExclusive: T, cancellationToken: CancellationToken, body: Func_3<T, CancellationToken, ValueTask>): Task;
|
|
650
|
+
static forAsync<T extends IBinaryInteger_1<T>>(fromInclusive: T, toExclusive: T, parallelOptions: ParallelOptions, body: Func_3<T, CancellationToken, ValueTask>): Task;
|
|
651
|
+
static forEach<TSource>(source: IEnumerable_1<TSource>, body: Action_1<TSource>): ParallelLoopResult;
|
|
652
|
+
static forEach<TSource>(source: IEnumerable_1<TSource>, body: Action_2<TSource, ParallelLoopState>): ParallelLoopResult;
|
|
653
|
+
static forEach<TSource>(source: IEnumerable_1<TSource>, body: Action_3<TSource, ParallelLoopState, CLROf<long>>): ParallelLoopResult;
|
|
654
|
+
static forEach<TSource, TLocal>(source: IEnumerable_1<TSource>, localInit: Func_1<TLocal>, body: Func_4<TSource, ParallelLoopState, TLocal, TLocal>, localFinally: Action_1<TLocal>): ParallelLoopResult;
|
|
655
|
+
static forEach<TSource, TLocal>(source: IEnumerable_1<TSource>, localInit: Func_1<TLocal>, body: Func_5<TSource, ParallelLoopState, CLROf<long>, TLocal, TLocal>, localFinally: Action_1<TLocal>): ParallelLoopResult;
|
|
656
|
+
static forEach<TSource>(source: IEnumerable_1<TSource>, parallelOptions: ParallelOptions, body: Action_1<TSource>): ParallelLoopResult;
|
|
657
|
+
static forEach<TSource>(source: IEnumerable_1<TSource>, parallelOptions: ParallelOptions, body: Action_2<TSource, ParallelLoopState>): ParallelLoopResult;
|
|
658
|
+
static forEach<TSource>(source: IEnumerable_1<TSource>, parallelOptions: ParallelOptions, body: Action_3<TSource, ParallelLoopState, CLROf<long>>): ParallelLoopResult;
|
|
659
|
+
static forEach<TSource, TLocal>(source: IEnumerable_1<TSource>, parallelOptions: ParallelOptions, localInit: Func_1<TLocal>, body: Func_4<TSource, ParallelLoopState, TLocal, TLocal>, localFinally: Action_1<TLocal>): ParallelLoopResult;
|
|
660
|
+
static forEach<TSource, TLocal>(source: IEnumerable_1<TSource>, parallelOptions: ParallelOptions, localInit: Func_1<TLocal>, body: Func_5<TSource, ParallelLoopState, CLROf<long>, TLocal, TLocal>, localFinally: Action_1<TLocal>): ParallelLoopResult;
|
|
661
|
+
static forEach<TSource>(source: OrderablePartitioner_1<TSource>, body: Action_3<TSource, ParallelLoopState, CLROf<long>>): ParallelLoopResult;
|
|
662
|
+
static forEach<TSource, TLocal>(source: OrderablePartitioner_1<TSource>, localInit: Func_1<TLocal>, body: Func_5<TSource, ParallelLoopState, CLROf<long>, TLocal, TLocal>, localFinally: Action_1<TLocal>): ParallelLoopResult;
|
|
663
|
+
static forEach<TSource>(source: OrderablePartitioner_1<TSource>, parallelOptions: ParallelOptions, body: Action_3<TSource, ParallelLoopState, CLROf<long>>): ParallelLoopResult;
|
|
664
|
+
static forEach<TSource, TLocal>(source: OrderablePartitioner_1<TSource>, parallelOptions: ParallelOptions, localInit: Func_1<TLocal>, body: Func_5<TSource, ParallelLoopState, CLROf<long>, TLocal, TLocal>, localFinally: Action_1<TLocal>): ParallelLoopResult;
|
|
665
|
+
static forEach<TSource>(source: Partitioner_1<TSource>, body: Action_1<TSource>): ParallelLoopResult;
|
|
666
|
+
static forEach<TSource>(source: Partitioner_1<TSource>, body: Action_2<TSource, ParallelLoopState>): ParallelLoopResult;
|
|
667
|
+
static forEach<TSource, TLocal>(source: Partitioner_1<TSource>, localInit: Func_1<TLocal>, body: Func_4<TSource, ParallelLoopState, TLocal, TLocal>, localFinally: Action_1<TLocal>): ParallelLoopResult;
|
|
668
|
+
static forEach<TSource>(source: Partitioner_1<TSource>, parallelOptions: ParallelOptions, body: Action_1<TSource>): ParallelLoopResult;
|
|
669
|
+
static forEach<TSource>(source: Partitioner_1<TSource>, parallelOptions: ParallelOptions, body: Action_2<TSource, ParallelLoopState>): ParallelLoopResult;
|
|
670
|
+
static forEach<TSource, TLocal>(source: Partitioner_1<TSource>, parallelOptions: ParallelOptions, localInit: Func_1<TLocal>, body: Func_4<TSource, ParallelLoopState, TLocal, TLocal>, localFinally: Action_1<TLocal>): ParallelLoopResult;
|
|
671
|
+
static forEachAsync4<TSource>(source: IAsyncEnumerable_1<TSource>, body: Func_3<TSource, CancellationToken, ValueTask>): Task;
|
|
672
|
+
static forEachAsync4<TSource>(source: IAsyncEnumerable_1<TSource>, cancellationToken: CancellationToken, body: Func_3<TSource, CancellationToken, ValueTask>): Task;
|
|
673
|
+
static forEachAsync4<TSource>(source: IAsyncEnumerable_1<TSource>, parallelOptions: ParallelOptions, body: Func_3<TSource, CancellationToken, ValueTask>): Task;
|
|
674
|
+
static forEachAsync4<TSource>(source: IEnumerable_1<TSource>, body: Func_3<TSource, CancellationToken, ValueTask>): Task;
|
|
675
|
+
static forEachAsync4<TSource>(source: IEnumerable_1<TSource>, cancellationToken: CancellationToken, body: Func_3<TSource, CancellationToken, ValueTask>): Task;
|
|
676
|
+
static forEachAsync4<TSource>(source: IEnumerable_1<TSource>, parallelOptions: ParallelOptions, body: Func_3<TSource, CancellationToken, ValueTask>): Task;
|
|
677
|
+
static invoke(actions: Action[]): void;
|
|
678
|
+
static invoke(parallelOptions: ParallelOptions, actions: Action[]): void;
|
|
675
679
|
}
|
|
676
680
|
|
|
677
681
|
|
|
678
682
|
export type Parallel = Parallel$instance;
|
|
679
683
|
|
|
680
684
|
export abstract class TaskAsyncEnumerableExtensions$instance {
|
|
681
|
-
static
|
|
682
|
-
static
|
|
683
|
-
static
|
|
684
|
-
static
|
|
685
|
+
static configureAwait2<T>(source: IAsyncEnumerable_1<T>, continueOnCapturedContext: boolean): ConfiguredCancelableAsyncEnumerable_1<T>;
|
|
686
|
+
static configureAwait2(source: IAsyncDisposable, continueOnCapturedContext: boolean): ConfiguredAsyncDisposable;
|
|
687
|
+
static toBlockingEnumerable<T>(source: IAsyncEnumerable_1<T>, cancellationToken?: CancellationToken): IEnumerable_1<T>;
|
|
688
|
+
static withCancellation<T>(source: IAsyncEnumerable_1<T>, cancellationToken: CancellationToken): ConfiguredCancelableAsyncEnumerable_1<T>;
|
|
685
689
|
}
|
|
686
690
|
|
|
687
691
|
|
|
688
692
|
export type TaskAsyncEnumerableExtensions = TaskAsyncEnumerableExtensions$instance;
|
|
689
693
|
|
|
690
694
|
export abstract class TaskExtensions$instance {
|
|
691
|
-
static
|
|
692
|
-
static
|
|
695
|
+
static unwrap(task: Task_1<Task>): Task;
|
|
696
|
+
static unwrap<TResult>(task: Task_1<Task_1<TResult>>): Task_1<TResult>;
|
|
693
697
|
}
|
|
694
698
|
|
|
695
699
|
|
|
696
700
|
export type TaskExtensions = TaskExtensions$instance;
|
|
697
701
|
|
|
698
702
|
export abstract class TaskToAsyncResult$instance {
|
|
699
|
-
static
|
|
700
|
-
static
|
|
701
|
-
static
|
|
702
|
-
static
|
|
703
|
-
static
|
|
703
|
+
static begin(task: Task, callback: AsyncCallback, state: unknown): IAsyncResult;
|
|
704
|
+
static end(asyncResult: IAsyncResult): void;
|
|
705
|
+
static end<TResult>(asyncResult: IAsyncResult): TResult;
|
|
706
|
+
static unwrap(asyncResult: IAsyncResult): Task;
|
|
707
|
+
static unwrap<TResult>(asyncResult: IAsyncResult): Task_1<TResult>;
|
|
704
708
|
}
|
|
705
709
|
|
|
706
710
|
|