@tsonic/dotnet 0.8.2 → 0.8.4
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/Microsoft.CSharp.RuntimeBinder/internal/index.d.ts +18 -18
- package/Microsoft.VisualBasic.CompilerServices/internal/index.d.ts +1 -1
- package/Microsoft.VisualBasic.FileIO/internal/index.d.ts +2 -2
- package/Microsoft.Win32/internal/index.d.ts +10 -10
- package/System/internal/index.d.ts +964 -950
- package/System.Buffers/internal/index.d.ts +2 -2
- package/System.Buffers.d.ts +3 -0
- package/System.CodeDom.Compiler/internal/index.d.ts +10 -10
- package/System.Collections/internal/index.d.ts +30 -24
- package/System.Collections.Concurrent/internal/index.d.ts +10 -10
- package/System.Collections.Frozen/bindings.json +20 -20
- package/System.Collections.Frozen/internal/index.d.ts +6 -6
- package/System.Collections.Frozen/internal/metadata.json +10 -10
- package/System.Collections.Frozen.d.ts +3 -0
- package/System.Collections.Generic/bindings.json +20 -44
- package/System.Collections.Generic/internal/index.d.ts +54 -54
- package/System.Collections.Generic/internal/metadata.json +10 -26
- package/System.Collections.Generic.d.ts +3 -0
- package/System.Collections.Immutable/internal/index.d.ts +88 -88
- package/System.Collections.Immutable.d.ts +3 -0
- package/System.Collections.ObjectModel/internal/index.d.ts +15 -15
- package/System.Collections.Specialized/internal/index.d.ts +53 -49
- package/System.ComponentModel/internal/index.d.ts +388 -376
- package/System.ComponentModel.DataAnnotations/internal/index.d.ts +55 -45
- package/System.ComponentModel.DataAnnotations.Schema/internal/index.d.ts +3 -2
- package/System.ComponentModel.Design/internal/index.d.ts +36 -36
- package/System.ComponentModel.Design.Serialization/internal/index.d.ts +20 -20
- package/System.Data/internal/index.d.ts +171 -163
- package/System.Data.Common/internal/index.d.ts +36 -28
- package/System.Data.Common.d.ts +3 -0
- package/System.Data.SqlTypes/internal/index.d.ts +23 -23
- package/System.Data.d.ts +3 -0
- package/System.Diagnostics/internal/index.d.ts +250 -228
- package/System.Diagnostics.CodeAnalysis/internal/index.d.ts +37 -23
- package/System.Diagnostics.Contracts/internal/index.d.ts +4 -4
- package/System.Diagnostics.Metrics/internal/index.d.ts +34 -29
- package/System.Diagnostics.Metrics.d.ts +3 -0
- package/System.Diagnostics.SymbolStore/internal/index.d.ts +4 -4
- package/System.Diagnostics.Tracing/internal/index.d.ts +26 -24
- package/System.Diagnostics.d.ts +3 -0
- package/System.Drawing/internal/index.d.ts +76 -76
- package/System.Dynamic/internal/index.d.ts +26 -26
- package/System.Formats.Asn1/internal/index.d.ts +4 -4
- package/System.Formats.Tar/internal/index.d.ts +5 -4
- package/System.Globalization/internal/index.d.ts +22 -20
- package/System.Globalization.d.ts +3 -0
- package/System.IO/internal/index.d.ts +106 -103
- package/System.IO.Compression/internal/index.d.ts +24 -24
- package/System.IO.Compression.d.ts +3 -0
- package/System.IO.Enumeration/internal/index.d.ts +7 -5
- package/System.IO.IsolatedStorage/internal/index.d.ts +9 -9
- package/System.IO.MemoryMappedFiles/internal/index.d.ts +8 -8
- package/System.IO.Pipelines/internal/index.d.ts +5 -5
- package/System.IO.Pipelines.d.ts +3 -0
- package/System.IO.Pipes/internal/index.d.ts +4 -4
- package/System.IO.Pipes.d.ts +3 -0
- package/System.IO.d.ts +3 -0
- package/System.Linq/internal/index.d.ts +207 -207
- package/System.Linq.Expressions/internal/index.d.ts +160 -160
- package/System.Linq.d.ts +3 -0
- package/System.Net/internal/index.d.ts +157 -131
- package/System.Net.Cache/internal/index.d.ts +2 -2
- package/System.Net.Http/internal/index.d.ts +69 -53
- package/System.Net.Http.Headers/internal/index.d.ts +62 -45
- package/System.Net.Http.Json/internal/index.d.ts +38 -38
- package/System.Net.Http.Json.d.ts +3 -0
- package/System.Net.Http.Metrics/internal/index.d.ts +1 -1
- package/System.Net.Mail/internal/index.d.ts +80 -70
- package/System.Net.Mime/internal/index.d.ts +4 -2
- package/System.Net.NetworkInformation/internal/index.d.ts +23 -23
- package/System.Net.Quic/internal/index.d.ts +4 -3
- package/System.Net.Security/internal/index.d.ts +65 -49
- package/System.Net.ServerSentEvents/internal/index.d.ts +3 -2
- package/System.Net.Sockets/internal/index.d.ts +49 -42
- package/System.Net.Sockets.d.ts +3 -0
- package/System.Net.WebSockets/internal/index.d.ts +35 -29
- package/System.Numerics/bindings.json +96 -72
- package/System.Numerics/internal/index.d.ts +93 -91
- package/System.Numerics/internal/metadata.json +64 -48
- package/System.Numerics.d.ts +3 -0
- package/System.Reflection/internal/index.d.ts +129 -126
- package/System.Reflection.Emit/internal/index.d.ts +105 -105
- package/System.Reflection.Metadata/internal/index.d.ts +15 -15
- package/System.Reflection.Metadata.Ecma335/internal/index.d.ts +4 -4
- package/System.Reflection.Metadata.Ecma335.d.ts +3 -0
- package/System.Reflection.Metadata.d.ts +3 -0
- package/System.Reflection.PortableExecutable/internal/index.d.ts +2 -2
- package/System.Reflection.d.ts +3 -0
- package/System.Resources/internal/index.d.ts +20 -19
- package/System.Runtime/internal/index.d.ts +6 -5
- package/System.Runtime.CompilerServices/internal/index.d.ts +30 -28
- package/System.Runtime.InteropServices/internal/index.d.ts +85 -83
- package/System.Runtime.InteropServices.ComTypes/internal/index.d.ts +9 -9
- package/System.Runtime.InteropServices.JavaScript/internal/index.d.ts +20 -20
- package/System.Runtime.InteropServices.Marshalling/internal/index.d.ts +28 -26
- package/System.Runtime.InteropServices.d.ts +3 -0
- package/System.Runtime.Intrinsics.d.ts +3 -0
- package/System.Runtime.Loader/internal/index.d.ts +2 -2
- package/System.Runtime.Remoting/internal/index.d.ts +1 -1
- package/System.Runtime.Serialization/internal/index.d.ts +66 -54
- package/System.Runtime.Serialization.DataContracts/internal/index.d.ts +3 -3
- package/System.Runtime.Serialization.Formatters/internal/index.d.ts +4 -2
- package/System.Runtime.Serialization.Formatters.Binary/internal/index.d.ts +5 -4
- package/System.Runtime.Serialization.Json/internal/index.d.ts +22 -21
- package/System.Runtime.Serialization.Json.d.ts +3 -0
- package/System.Runtime.Serialization.d.ts +3 -0
- package/System.Runtime.Versioning/internal/index.d.ts +12 -9
- package/System.Security/internal/index.d.ts +62 -52
- package/System.Security.AccessControl/internal/index.d.ts +29 -25
- package/System.Security.Authentication/internal/index.d.ts +4 -4
- package/System.Security.Authentication.ExtendedProtection/internal/index.d.ts +8 -8
- package/System.Security.Claims/internal/index.d.ts +21 -15
- package/System.Security.Cryptography/bindings.json +4212 -4212
- package/System.Security.Cryptography/internal/index.d.ts +155 -141
- package/System.Security.Cryptography.X509Certificates/bindings.json +768 -768
- package/System.Security.Cryptography.X509Certificates/internal/index.d.ts +83 -82
- package/System.Security.Cryptography.X509Certificates.d.ts +3 -0
- package/System.Security.Permissions/internal/index.d.ts +2 -2
- package/System.Security.Principal/internal/index.d.ts +3 -3
- package/System.Text/internal/index.d.ts +48 -46
- package/System.Text.Json/internal/index.d.ts +87 -81
- package/System.Text.Json.Nodes/internal/index.d.ts +41 -41
- package/System.Text.Json.Schema/internal/index.d.ts +4 -3
- package/System.Text.Json.Schema.d.ts +3 -0
- package/System.Text.Json.Serialization/internal/index.d.ts +5 -4
- package/System.Text.Json.Serialization.Metadata/internal/index.d.ts +55 -30
- package/System.Text.Json.Serialization.Metadata.d.ts +3 -0
- package/System.Text.Json.d.ts +3 -0
- package/System.Text.RegularExpressions/internal/index.d.ts +5 -5
- package/System.Text.Unicode/internal/index.d.ts +4 -4
- package/System.Text.d.ts +3 -0
- package/System.Threading/internal/index.d.ts +86 -85
- package/System.Threading.Channels/internal/index.d.ts +8 -8
- package/System.Threading.Tasks/internal/index.d.ts +82 -82
- package/System.Threading.Tasks.Dataflow/internal/index.d.ts +25 -26
- package/System.Threading.Tasks.Dataflow.d.ts +3 -0
- package/System.Threading.Tasks.Sources/internal/index.d.ts +4 -4
- package/System.Threading.Tasks.d.ts +3 -0
- package/System.Threading.d.ts +3 -0
- package/System.Timers/internal/index.d.ts +5 -3
- package/System.Transactions/internal/index.d.ts +18 -16
- package/System.Web/internal/index.d.ts +30 -30
- package/System.Windows.Input/internal/index.d.ts +2 -2
- package/System.Xml/internal/index.d.ts +162 -161
- package/System.Xml.Linq/internal/index.d.ts +38 -37
- package/System.Xml.Linq.d.ts +3 -0
- package/System.Xml.Resolvers/internal/index.d.ts +5 -5
- package/System.Xml.Schema/internal/index.d.ts +133 -88
- package/System.Xml.Schema.d.ts +3 -0
- package/System.Xml.Serialization/internal/index.d.ts +138 -117
- package/System.Xml.XPath/internal/index.d.ts +12 -12
- package/System.Xml.XPath.d.ts +3 -0
- package/System.Xml.Xsl/internal/index.d.ts +34 -34
- package/System.Xml.Xsl.Runtime/internal/index.d.ts +16 -16
- package/System.d.ts +3 -0
- package/__internal/extensions/index.d.ts +2516 -2196
- package/package.json +2 -2
|
@@ -132,7 +132,7 @@ export interface ValueTask_1$instance<TResult> {
|
|
|
132
132
|
getAwaiter(): ValueTaskAwaiter_1<TResult>;
|
|
133
133
|
getHashCode(): int;
|
|
134
134
|
preserve(): ValueTask_1<TResult>;
|
|
135
|
-
toString(): string;
|
|
135
|
+
toString(): string | undefined;
|
|
136
136
|
}
|
|
137
137
|
|
|
138
138
|
|
|
@@ -219,21 +219,21 @@ export interface Task$instance {
|
|
|
219
219
|
continueWith(continuationAction: Action_1<Task>, scheduler: TaskScheduler): Task;
|
|
220
220
|
continueWith(continuationAction: Action_1<Task>, continuationOptions: TaskContinuationOptions): Task;
|
|
221
221
|
continueWith(continuationAction: Action_1<Task>, cancellationToken: CancellationToken, continuationOptions: TaskContinuationOptions, scheduler: TaskScheduler): Task;
|
|
222
|
-
continueWith(continuationAction: Action_2<Task, unknown
|
|
223
|
-
continueWith(continuationAction: Action_2<Task, unknown
|
|
224
|
-
continueWith(continuationAction: Action_2<Task, unknown
|
|
225
|
-
continueWith(continuationAction: Action_2<Task, unknown
|
|
226
|
-
continueWith(continuationAction: Action_2<Task, unknown
|
|
222
|
+
continueWith(continuationAction: Action_2<Task, unknown>, state: unknown): Task;
|
|
223
|
+
continueWith(continuationAction: Action_2<Task, unknown>, state: unknown, cancellationToken: CancellationToken): Task;
|
|
224
|
+
continueWith(continuationAction: Action_2<Task, unknown>, state: unknown, scheduler: TaskScheduler): Task;
|
|
225
|
+
continueWith(continuationAction: Action_2<Task, unknown>, state: unknown, continuationOptions: TaskContinuationOptions): Task;
|
|
226
|
+
continueWith(continuationAction: Action_2<Task, unknown>, state: unknown, cancellationToken: CancellationToken, continuationOptions: TaskContinuationOptions, scheduler: TaskScheduler): Task;
|
|
227
227
|
continueWith<TResult>(continuationFunction: Func_2<Task, TResult>): Task_1<TResult>;
|
|
228
228
|
continueWith<TResult>(continuationFunction: Func_2<Task, TResult>, cancellationToken: CancellationToken): Task_1<TResult>;
|
|
229
229
|
continueWith<TResult>(continuationFunction: Func_2<Task, TResult>, scheduler: TaskScheduler): Task_1<TResult>;
|
|
230
230
|
continueWith<TResult>(continuationFunction: Func_2<Task, TResult>, continuationOptions: TaskContinuationOptions): Task_1<TResult>;
|
|
231
231
|
continueWith<TResult>(continuationFunction: Func_2<Task, TResult>, cancellationToken: CancellationToken, continuationOptions: TaskContinuationOptions, scheduler: TaskScheduler): Task_1<TResult>;
|
|
232
|
-
continueWith<TResult>(continuationFunction: Func_3<Task, unknown
|
|
233
|
-
continueWith<TResult>(continuationFunction: Func_3<Task, unknown
|
|
234
|
-
continueWith<TResult>(continuationFunction: Func_3<Task, unknown
|
|
235
|
-
continueWith<TResult>(continuationFunction: Func_3<Task, unknown
|
|
236
|
-
continueWith<TResult>(continuationFunction: Func_3<Task, unknown
|
|
232
|
+
continueWith<TResult>(continuationFunction: Func_3<Task, unknown, TResult>, state: unknown): Task_1<TResult>;
|
|
233
|
+
continueWith<TResult>(continuationFunction: Func_3<Task, unknown, TResult>, state: unknown, cancellationToken: CancellationToken): Task_1<TResult>;
|
|
234
|
+
continueWith<TResult>(continuationFunction: Func_3<Task, unknown, TResult>, state: unknown, scheduler: TaskScheduler): Task_1<TResult>;
|
|
235
|
+
continueWith<TResult>(continuationFunction: Func_3<Task, unknown, TResult>, state: unknown, continuationOptions: TaskContinuationOptions): Task_1<TResult>;
|
|
236
|
+
continueWith<TResult>(continuationFunction: Func_3<Task, unknown, TResult>, state: unknown, cancellationToken: CancellationToken, continuationOptions: TaskContinuationOptions, scheduler: TaskScheduler): Task_1<TResult>;
|
|
237
237
|
dispose(): void;
|
|
238
238
|
getAwaiter(): TaskAwaiter;
|
|
239
239
|
runSynchronously(): void;
|
|
@@ -259,10 +259,10 @@ export const Task: {
|
|
|
259
259
|
new(action: Action, cancellationToken: CancellationToken): Task;
|
|
260
260
|
new(action: Action, creationOptions: TaskCreationOptions): Task;
|
|
261
261
|
new(action: Action, cancellationToken: CancellationToken, creationOptions: TaskCreationOptions): Task;
|
|
262
|
-
new(action: Action_1<unknown
|
|
263
|
-
new(action: Action_1<unknown
|
|
264
|
-
new(action: Action_1<unknown
|
|
265
|
-
new(action: Action_1<unknown
|
|
262
|
+
new(action: Action_1<unknown>, state: unknown): Task;
|
|
263
|
+
new(action: Action_1<unknown>, state: unknown, cancellationToken: CancellationToken): Task;
|
|
264
|
+
new(action: Action_1<unknown>, state: unknown, creationOptions: TaskCreationOptions): Task;
|
|
265
|
+
new(action: Action_1<unknown>, state: unknown, cancellationToken: CancellationToken, creationOptions: TaskCreationOptions): Task;
|
|
266
266
|
readonly currentId: Nullable_1<System_Internal.Int32>;
|
|
267
267
|
readonly factory: TaskFactory;
|
|
268
268
|
readonly completedTask: Task;
|
|
@@ -281,8 +281,8 @@ export const Task: {
|
|
|
281
281
|
run<TResult>(function_: Func_1<TResult>): Task_1<TResult>;
|
|
282
282
|
run(action: Action, cancellationToken: CancellationToken): Task;
|
|
283
283
|
run(action: Action): Task;
|
|
284
|
-
run(function_: Func_1<Task
|
|
285
|
-
run(function_: Func_1<Task
|
|
284
|
+
run(function_: Func_1<Task>, cancellationToken: CancellationToken): Task;
|
|
285
|
+
run(function_: Func_1<Task>): Task;
|
|
286
286
|
waitAll(tasks: IEnumerable_1<Task>, cancellationToken?: CancellationToken): void;
|
|
287
287
|
waitAll(tasks: ReadOnlySpan_1<Task>): void;
|
|
288
288
|
waitAll(tasks: Task[], millisecondsTimeout: int, cancellationToken: CancellationToken): boolean;
|
|
@@ -336,34 +336,34 @@ export interface Task_1$instance<TResult> extends Task$instance {
|
|
|
336
336
|
configureAwait(options: ConfigureAwaitOptions): ConfiguredTaskAwaitable;
|
|
337
337
|
continueWith(continuationAction: Action_1<Task_1<TResult>>, scheduler: TaskScheduler): Task;
|
|
338
338
|
continueWith(continuationAction: Action_1<Task_1<TResult>>, continuationOptions: TaskContinuationOptions): Task;
|
|
339
|
-
continueWith(continuationAction: Action_2<Task_1<TResult>, unknown
|
|
340
|
-
continueWith(continuationAction: Action_2<Task_1<TResult>, unknown
|
|
341
|
-
continueWith(continuationAction: Action_2<Task_1<TResult>, unknown
|
|
339
|
+
continueWith(continuationAction: Action_2<Task_1<TResult>, unknown>, state: unknown): Task;
|
|
340
|
+
continueWith(continuationAction: Action_2<Task_1<TResult>, unknown>, state: unknown, scheduler: TaskScheduler): Task;
|
|
341
|
+
continueWith(continuationAction: Action_2<Task_1<TResult>, unknown>, state: unknown, continuationOptions: TaskContinuationOptions): Task;
|
|
342
342
|
continueWith<TNewResult>(continuationFunction: Func_2<Task_1<TResult>, TNewResult>, scheduler: TaskScheduler): Task_1<TNewResult>;
|
|
343
343
|
continueWith<TNewResult>(continuationFunction: Func_2<Task_1<TResult>, TNewResult>, continuationOptions: TaskContinuationOptions): Task_1<TNewResult>;
|
|
344
|
-
continueWith<TNewResult>(continuationFunction: Func_3<Task_1<TResult>, unknown
|
|
345
|
-
continueWith<TNewResult>(continuationFunction: Func_3<Task_1<TResult>, unknown
|
|
346
|
-
continueWith<TNewResult>(continuationFunction: Func_3<Task_1<TResult>, unknown
|
|
344
|
+
continueWith<TNewResult>(continuationFunction: Func_3<Task_1<TResult>, unknown, TNewResult>, state: unknown): Task_1<TNewResult>;
|
|
345
|
+
continueWith<TNewResult>(continuationFunction: Func_3<Task_1<TResult>, unknown, TNewResult>, state: unknown, scheduler: TaskScheduler): Task_1<TNewResult>;
|
|
346
|
+
continueWith<TNewResult>(continuationFunction: Func_3<Task_1<TResult>, unknown, TNewResult>, state: unknown, continuationOptions: TaskContinuationOptions): Task_1<TNewResult>;
|
|
347
347
|
continueWith(continuationAction: Action_1<Task>): Task;
|
|
348
348
|
continueWith(continuationAction: Action_1<Task>, cancellationToken: CancellationToken): Task;
|
|
349
349
|
continueWith(continuationAction: Action_1<Task>, scheduler: TaskScheduler): Task;
|
|
350
350
|
continueWith(continuationAction: Action_1<Task>, continuationOptions: TaskContinuationOptions): Task;
|
|
351
351
|
continueWith(continuationAction: Action_1<Task>, cancellationToken: CancellationToken, continuationOptions: TaskContinuationOptions, scheduler: TaskScheduler): Task;
|
|
352
|
-
continueWith(continuationAction: Action_2<Task, unknown
|
|
353
|
-
continueWith(continuationAction: Action_2<Task, unknown
|
|
354
|
-
continueWith(continuationAction: Action_2<Task, unknown
|
|
355
|
-
continueWith(continuationAction: Action_2<Task, unknown
|
|
356
|
-
continueWith(continuationAction: Action_2<Task, unknown
|
|
352
|
+
continueWith(continuationAction: Action_2<Task, unknown>, state: unknown): Task;
|
|
353
|
+
continueWith(continuationAction: Action_2<Task, unknown>, state: unknown, cancellationToken: CancellationToken): Task;
|
|
354
|
+
continueWith(continuationAction: Action_2<Task, unknown>, state: unknown, scheduler: TaskScheduler): Task;
|
|
355
|
+
continueWith(continuationAction: Action_2<Task, unknown>, state: unknown, continuationOptions: TaskContinuationOptions): Task;
|
|
356
|
+
continueWith(continuationAction: Action_2<Task, unknown>, state: unknown, cancellationToken: CancellationToken, continuationOptions: TaskContinuationOptions, scheduler: TaskScheduler): Task;
|
|
357
357
|
continueWith<TResult>(continuationFunction: Func_2<Task, TResult>): Task_1<TResult>;
|
|
358
358
|
continueWith<TResult>(continuationFunction: Func_2<Task, TResult>, cancellationToken: CancellationToken): Task_1<TResult>;
|
|
359
359
|
continueWith<TResult>(continuationFunction: Func_2<Task, TResult>, scheduler: TaskScheduler): Task_1<TResult>;
|
|
360
360
|
continueWith<TResult>(continuationFunction: Func_2<Task, TResult>, continuationOptions: TaskContinuationOptions): Task_1<TResult>;
|
|
361
361
|
continueWith<TResult>(continuationFunction: Func_2<Task, TResult>, cancellationToken: CancellationToken, continuationOptions: TaskContinuationOptions, scheduler: TaskScheduler): Task_1<TResult>;
|
|
362
|
-
continueWith<TResult>(continuationFunction: Func_3<Task, unknown
|
|
363
|
-
continueWith<TResult>(continuationFunction: Func_3<Task, unknown
|
|
364
|
-
continueWith<TResult>(continuationFunction: Func_3<Task, unknown
|
|
365
|
-
continueWith<TResult>(continuationFunction: Func_3<Task, unknown
|
|
366
|
-
continueWith<TResult>(continuationFunction: Func_3<Task, unknown
|
|
362
|
+
continueWith<TResult>(continuationFunction: Func_3<Task, unknown, TResult>, state: unknown): Task_1<TResult>;
|
|
363
|
+
continueWith<TResult>(continuationFunction: Func_3<Task, unknown, TResult>, state: unknown, cancellationToken: CancellationToken): Task_1<TResult>;
|
|
364
|
+
continueWith<TResult>(continuationFunction: Func_3<Task, unknown, TResult>, state: unknown, scheduler: TaskScheduler): Task_1<TResult>;
|
|
365
|
+
continueWith<TResult>(continuationFunction: Func_3<Task, unknown, TResult>, state: unknown, continuationOptions: TaskContinuationOptions): Task_1<TResult>;
|
|
366
|
+
continueWith<TResult>(continuationFunction: Func_3<Task, unknown, TResult>, state: unknown, cancellationToken: CancellationToken, continuationOptions: TaskContinuationOptions, scheduler: TaskScheduler): Task_1<TResult>;
|
|
367
367
|
dispose(): void;
|
|
368
368
|
getAwaiter(): TaskAwaiter;
|
|
369
369
|
waitAsync(timeout: TimeSpan): Task_1<TResult>;
|
|
@@ -381,10 +381,10 @@ export const Task_1: {
|
|
|
381
381
|
new<TResult>(function_: Func_1<TResult>, cancellationToken: CancellationToken): Task_1<TResult>;
|
|
382
382
|
new<TResult>(function_: Func_1<TResult>, creationOptions: TaskCreationOptions): Task_1<TResult>;
|
|
383
383
|
new<TResult>(function_: Func_1<TResult>, cancellationToken: CancellationToken, creationOptions: TaskCreationOptions): Task_1<TResult>;
|
|
384
|
-
new<TResult>(function_: Func_2<unknown
|
|
385
|
-
new<TResult>(function_: Func_2<unknown
|
|
386
|
-
new<TResult>(function_: Func_2<unknown
|
|
387
|
-
new<TResult>(function_: Func_2<unknown
|
|
384
|
+
new<TResult>(function_: Func_2<unknown, TResult>, state: unknown): Task_1<TResult>;
|
|
385
|
+
new<TResult>(function_: Func_2<unknown, TResult>, state: unknown, cancellationToken: CancellationToken): Task_1<TResult>;
|
|
386
|
+
new<TResult>(function_: Func_2<unknown, TResult>, state: unknown, creationOptions: TaskCreationOptions): Task_1<TResult>;
|
|
387
|
+
new<TResult>(function_: Func_2<unknown, TResult>, state: unknown, cancellationToken: CancellationToken, creationOptions: TaskCreationOptions): Task_1<TResult>;
|
|
388
388
|
};
|
|
389
389
|
|
|
390
390
|
|
|
@@ -406,10 +406,10 @@ export interface TaskCanceledException$instance extends OperationCanceledExcepti
|
|
|
406
406
|
|
|
407
407
|
export const TaskCanceledException: {
|
|
408
408
|
new(): TaskCanceledException;
|
|
409
|
-
new(message: string
|
|
410
|
-
new(message: string
|
|
411
|
-
new(message: string
|
|
412
|
-
new(task: Task
|
|
409
|
+
new(message: string): TaskCanceledException;
|
|
410
|
+
new(message: string, innerException: Exception): TaskCanceledException;
|
|
411
|
+
new(message: string, innerException: Exception, token: CancellationToken): TaskCanceledException;
|
|
412
|
+
new(task: Task): TaskCanceledException;
|
|
413
413
|
};
|
|
414
414
|
|
|
415
415
|
|
|
@@ -514,41 +514,41 @@ export interface TaskFactory$instance {
|
|
|
514
514
|
fromAsync(asyncResult: IAsyncResult, endMethod: Action_1<IAsyncResult>): Task;
|
|
515
515
|
fromAsync(asyncResult: IAsyncResult, endMethod: Action_1<IAsyncResult>, creationOptions: TaskCreationOptions): Task;
|
|
516
516
|
fromAsync(asyncResult: IAsyncResult, endMethod: Action_1<IAsyncResult>, creationOptions: TaskCreationOptions, scheduler: TaskScheduler): Task;
|
|
517
|
-
fromAsync(beginMethod: Func_3<AsyncCallback, unknown
|
|
518
|
-
fromAsync(beginMethod: Func_3<AsyncCallback, unknown
|
|
519
|
-
fromAsync<TArg1>(beginMethod: Func_4<TArg1, AsyncCallback, unknown
|
|
520
|
-
fromAsync<TArg1>(beginMethod: Func_4<TArg1, AsyncCallback, unknown
|
|
521
|
-
fromAsync<TArg1, TArg2>(beginMethod: Func_5<TArg1, TArg2, AsyncCallback, unknown
|
|
522
|
-
fromAsync<TArg1, TArg2>(beginMethod: Func_5<TArg1, TArg2, AsyncCallback, unknown
|
|
523
|
-
fromAsync<TArg1, TArg2, TArg3>(beginMethod: Func_6<TArg1, TArg2, TArg3, AsyncCallback, unknown
|
|
524
|
-
fromAsync<TArg1, TArg2, TArg3>(beginMethod: Func_6<TArg1, TArg2, TArg3, AsyncCallback, unknown
|
|
517
|
+
fromAsync(beginMethod: Func_3<AsyncCallback, unknown, IAsyncResult>, endMethod: Action_1<IAsyncResult>, state: unknown): Task;
|
|
518
|
+
fromAsync(beginMethod: Func_3<AsyncCallback, unknown, IAsyncResult>, endMethod: Action_1<IAsyncResult>, state: unknown, creationOptions: TaskCreationOptions): Task;
|
|
519
|
+
fromAsync<TArg1>(beginMethod: Func_4<TArg1, AsyncCallback, unknown, IAsyncResult>, endMethod: Action_1<IAsyncResult>, arg1: TArg1, state: unknown): Task;
|
|
520
|
+
fromAsync<TArg1>(beginMethod: Func_4<TArg1, AsyncCallback, unknown, IAsyncResult>, endMethod: Action_1<IAsyncResult>, arg1: TArg1, state: unknown, creationOptions: TaskCreationOptions): Task;
|
|
521
|
+
fromAsync<TArg1, TArg2>(beginMethod: Func_5<TArg1, TArg2, AsyncCallback, unknown, IAsyncResult>, endMethod: Action_1<IAsyncResult>, arg1: TArg1, arg2: TArg2, state: unknown): Task;
|
|
522
|
+
fromAsync<TArg1, TArg2>(beginMethod: Func_5<TArg1, TArg2, AsyncCallback, unknown, IAsyncResult>, endMethod: Action_1<IAsyncResult>, arg1: TArg1, arg2: TArg2, state: unknown, creationOptions: TaskCreationOptions): Task;
|
|
523
|
+
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;
|
|
524
|
+
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;
|
|
525
525
|
fromAsync<TResult>(asyncResult: IAsyncResult, endMethod: Func_2<IAsyncResult, TResult>): Task_1<TResult>;
|
|
526
526
|
fromAsync<TResult>(asyncResult: IAsyncResult, endMethod: Func_2<IAsyncResult, TResult>, creationOptions: TaskCreationOptions): Task_1<TResult>;
|
|
527
527
|
fromAsync<TResult>(asyncResult: IAsyncResult, endMethod: Func_2<IAsyncResult, TResult>, creationOptions: TaskCreationOptions, scheduler: TaskScheduler): Task_1<TResult>;
|
|
528
|
-
fromAsync<TResult>(beginMethod: Func_3<AsyncCallback, unknown
|
|
529
|
-
fromAsync<TResult>(beginMethod: Func_3<AsyncCallback, unknown
|
|
530
|
-
fromAsync<TArg1, TResult>(beginMethod: Func_4<TArg1, AsyncCallback, unknown
|
|
531
|
-
fromAsync<TArg1, TResult>(beginMethod: Func_4<TArg1, AsyncCallback, unknown
|
|
532
|
-
fromAsync<TArg1, TArg2, TResult>(beginMethod: Func_5<TArg1, TArg2, AsyncCallback, unknown
|
|
533
|
-
fromAsync<TArg1, TArg2, TResult>(beginMethod: Func_5<TArg1, TArg2, AsyncCallback, unknown
|
|
534
|
-
fromAsync<TArg1, TArg2, TArg3, TResult>(beginMethod: Func_6<TArg1, TArg2, TArg3, AsyncCallback, unknown
|
|
535
|
-
fromAsync<TArg1, TArg2, TArg3, TResult>(beginMethod: Func_6<TArg1, TArg2, TArg3, AsyncCallback, unknown
|
|
528
|
+
fromAsync<TResult>(beginMethod: Func_3<AsyncCallback, unknown, IAsyncResult>, endMethod: Func_2<IAsyncResult, TResult>, state: unknown): Task_1<TResult>;
|
|
529
|
+
fromAsync<TResult>(beginMethod: Func_3<AsyncCallback, unknown, IAsyncResult>, endMethod: Func_2<IAsyncResult, TResult>, state: unknown, creationOptions: TaskCreationOptions): Task_1<TResult>;
|
|
530
|
+
fromAsync<TArg1, TResult>(beginMethod: Func_4<TArg1, AsyncCallback, unknown, IAsyncResult>, endMethod: Func_2<IAsyncResult, TResult>, arg1: TArg1, state: unknown): Task_1<TResult>;
|
|
531
|
+
fromAsync<TArg1, TResult>(beginMethod: Func_4<TArg1, AsyncCallback, unknown, IAsyncResult>, endMethod: Func_2<IAsyncResult, TResult>, arg1: TArg1, state: unknown, creationOptions: TaskCreationOptions): Task_1<TResult>;
|
|
532
|
+
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>;
|
|
533
|
+
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>;
|
|
534
|
+
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>;
|
|
535
|
+
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>;
|
|
536
536
|
startNew(action: Action): Task;
|
|
537
537
|
startNew(action: Action, cancellationToken: CancellationToken): Task;
|
|
538
538
|
startNew(action: Action, creationOptions: TaskCreationOptions): Task;
|
|
539
539
|
startNew(action: Action, cancellationToken: CancellationToken, creationOptions: TaskCreationOptions, scheduler: TaskScheduler): Task;
|
|
540
|
-
startNew(action: Action_1<unknown
|
|
541
|
-
startNew(action: Action_1<unknown
|
|
542
|
-
startNew(action: Action_1<unknown
|
|
543
|
-
startNew(action: Action_1<unknown
|
|
540
|
+
startNew(action: Action_1<unknown>, state: unknown): Task;
|
|
541
|
+
startNew(action: Action_1<unknown>, state: unknown, cancellationToken: CancellationToken): Task;
|
|
542
|
+
startNew(action: Action_1<unknown>, state: unknown, creationOptions: TaskCreationOptions): Task;
|
|
543
|
+
startNew(action: Action_1<unknown>, state: unknown, cancellationToken: CancellationToken, creationOptions: TaskCreationOptions, scheduler: TaskScheduler): Task;
|
|
544
544
|
startNew<TResult>(function_: Func_1<TResult>): Task_1<TResult>;
|
|
545
545
|
startNew<TResult>(function_: Func_1<TResult>, cancellationToken: CancellationToken): Task_1<TResult>;
|
|
546
546
|
startNew<TResult>(function_: Func_1<TResult>, creationOptions: TaskCreationOptions): Task_1<TResult>;
|
|
547
547
|
startNew<TResult>(function_: Func_1<TResult>, cancellationToken: CancellationToken, creationOptions: TaskCreationOptions, scheduler: TaskScheduler): Task_1<TResult>;
|
|
548
|
-
startNew<TResult>(function_: Func_2<unknown
|
|
549
|
-
startNew<TResult>(function_: Func_2<unknown
|
|
550
|
-
startNew<TResult>(function_: Func_2<unknown
|
|
551
|
-
startNew<TResult>(function_: Func_2<unknown
|
|
548
|
+
startNew<TResult>(function_: Func_2<unknown, TResult>, state: unknown): Task_1<TResult>;
|
|
549
|
+
startNew<TResult>(function_: Func_2<unknown, TResult>, state: unknown, cancellationToken: CancellationToken): Task_1<TResult>;
|
|
550
|
+
startNew<TResult>(function_: Func_2<unknown, TResult>, state: unknown, creationOptions: TaskCreationOptions): Task_1<TResult>;
|
|
551
|
+
startNew<TResult>(function_: Func_2<unknown, TResult>, state: unknown, cancellationToken: CancellationToken, creationOptions: TaskCreationOptions, scheduler: TaskScheduler): Task_1<TResult>;
|
|
552
552
|
}
|
|
553
553
|
|
|
554
554
|
|
|
@@ -587,22 +587,22 @@ export interface TaskFactory_1$instance<TResult> {
|
|
|
587
587
|
fromAsync(asyncResult: IAsyncResult, endMethod: Func_2<IAsyncResult, TResult>): Task_1<TResult>;
|
|
588
588
|
fromAsync(asyncResult: IAsyncResult, endMethod: Func_2<IAsyncResult, TResult>, creationOptions: TaskCreationOptions): Task_1<TResult>;
|
|
589
589
|
fromAsync(asyncResult: IAsyncResult, endMethod: Func_2<IAsyncResult, TResult>, creationOptions: TaskCreationOptions, scheduler: TaskScheduler): Task_1<TResult>;
|
|
590
|
-
fromAsync(beginMethod: Func_3<AsyncCallback, unknown
|
|
591
|
-
fromAsync(beginMethod: Func_3<AsyncCallback, unknown
|
|
592
|
-
fromAsync<TArg1>(beginMethod: Func_4<TArg1, AsyncCallback, unknown
|
|
593
|
-
fromAsync<TArg1>(beginMethod: Func_4<TArg1, AsyncCallback, unknown
|
|
594
|
-
fromAsync<TArg1, TArg2>(beginMethod: Func_5<TArg1, TArg2, AsyncCallback, unknown
|
|
595
|
-
fromAsync<TArg1, TArg2>(beginMethod: Func_5<TArg1, TArg2, AsyncCallback, unknown
|
|
596
|
-
fromAsync<TArg1, TArg2, TArg3>(beginMethod: Func_6<TArg1, TArg2, TArg3, AsyncCallback, unknown
|
|
597
|
-
fromAsync<TArg1, TArg2, TArg3>(beginMethod: Func_6<TArg1, TArg2, TArg3, AsyncCallback, unknown
|
|
590
|
+
fromAsync(beginMethod: Func_3<AsyncCallback, unknown, IAsyncResult>, endMethod: Func_2<IAsyncResult, TResult>, state: unknown): Task_1<TResult>;
|
|
591
|
+
fromAsync(beginMethod: Func_3<AsyncCallback, unknown, IAsyncResult>, endMethod: Func_2<IAsyncResult, TResult>, state: unknown, creationOptions: TaskCreationOptions): Task_1<TResult>;
|
|
592
|
+
fromAsync<TArg1>(beginMethod: Func_4<TArg1, AsyncCallback, unknown, IAsyncResult>, endMethod: Func_2<IAsyncResult, TResult>, arg1: TArg1, state: unknown): Task_1<TResult>;
|
|
593
|
+
fromAsync<TArg1>(beginMethod: Func_4<TArg1, AsyncCallback, unknown, IAsyncResult>, endMethod: Func_2<IAsyncResult, TResult>, arg1: TArg1, state: unknown, creationOptions: TaskCreationOptions): Task_1<TResult>;
|
|
594
|
+
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>;
|
|
595
|
+
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>;
|
|
596
|
+
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>;
|
|
597
|
+
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>;
|
|
598
598
|
startNew(function_: Func_1<TResult>): Task_1<TResult>;
|
|
599
599
|
startNew(function_: Func_1<TResult>, cancellationToken: CancellationToken): Task_1<TResult>;
|
|
600
600
|
startNew(function_: Func_1<TResult>, creationOptions: TaskCreationOptions): Task_1<TResult>;
|
|
601
601
|
startNew(function_: Func_1<TResult>, cancellationToken: CancellationToken, creationOptions: TaskCreationOptions, scheduler: TaskScheduler): Task_1<TResult>;
|
|
602
|
-
startNew(function_: Func_2<unknown
|
|
603
|
-
startNew(function_: Func_2<unknown
|
|
604
|
-
startNew(function_: Func_2<unknown
|
|
605
|
-
startNew(function_: Func_2<unknown
|
|
602
|
+
startNew(function_: Func_2<unknown, TResult>, state: unknown): Task_1<TResult>;
|
|
603
|
+
startNew(function_: Func_2<unknown, TResult>, state: unknown, cancellationToken: CancellationToken): Task_1<TResult>;
|
|
604
|
+
startNew(function_: Func_2<unknown, TResult>, state: unknown, creationOptions: TaskCreationOptions): Task_1<TResult>;
|
|
605
|
+
startNew(function_: Func_2<unknown, TResult>, state: unknown, cancellationToken: CancellationToken, creationOptions: TaskCreationOptions, scheduler: TaskScheduler): Task_1<TResult>;
|
|
606
606
|
}
|
|
607
607
|
|
|
608
608
|
|
|
@@ -633,15 +633,15 @@ export const TaskScheduler: {
|
|
|
633
633
|
export type TaskScheduler = TaskScheduler$instance;
|
|
634
634
|
|
|
635
635
|
export interface TaskSchedulerException$instance extends Exception {
|
|
636
|
-
getObjectData(info: SerializationInfo
|
|
636
|
+
getObjectData(info: SerializationInfo, context: StreamingContext): void;
|
|
637
637
|
}
|
|
638
638
|
|
|
639
639
|
|
|
640
640
|
export const TaskSchedulerException: {
|
|
641
641
|
new(): TaskSchedulerException;
|
|
642
|
-
new(message: string
|
|
643
|
-
new(innerException: Exception
|
|
644
|
-
new(message: string
|
|
642
|
+
new(message: string): TaskSchedulerException;
|
|
643
|
+
new(innerException: Exception): TaskSchedulerException;
|
|
644
|
+
new(message: string, innerException: Exception): TaskSchedulerException;
|
|
645
645
|
};
|
|
646
646
|
|
|
647
647
|
|
|
@@ -734,7 +734,7 @@ export abstract class TaskExtensions$instance {
|
|
|
734
734
|
export type TaskExtensions = TaskExtensions$instance;
|
|
735
735
|
|
|
736
736
|
export abstract class TaskToAsyncResult$instance {
|
|
737
|
-
static begin(task: Task, callback: AsyncCallback
|
|
737
|
+
static begin(task: Task, callback: AsyncCallback, state: unknown): IAsyncResult;
|
|
738
738
|
static end(asyncResult: IAsyncResult): void;
|
|
739
739
|
static end<TResult>(asyncResult: IAsyncResult): TResult;
|
|
740
740
|
static unwrap(asyncResult: IAsyncResult): Task;
|
|
@@ -42,7 +42,6 @@ export interface IPropagatorBlock_2$instance<TInput, TOutput> extends ITargetBlo
|
|
|
42
42
|
fault(exception: Exception): void;
|
|
43
43
|
linkTo(target: ITargetBlock_1<TOutput>, linkOptions: DataflowLinkOptions): IDisposable;
|
|
44
44
|
offerMessage(messageHeader: DataflowMessageHeader, messageValue: TInput, source: ISourceBlock_1<TInput>, consumeToAccept: boolean): DataflowMessageStatus;
|
|
45
|
-
offerMessage(messageHeader: DataflowMessageHeader, messageValue: TInput, source: ISourceBlock_1<TInput> | undefined, consumeToAccept: boolean): DataflowMessageStatus;
|
|
46
45
|
releaseReservation(messageHeader: DataflowMessageHeader, target: ITargetBlock_1<TOutput>): void;
|
|
47
46
|
reserveMessage(messageHeader: DataflowMessageHeader, target: ITargetBlock_1<TOutput>): boolean;
|
|
48
47
|
}
|
|
@@ -59,8 +58,8 @@ export interface IReceivableSourceBlock_1$instance<TOutput> extends ISourceBlock
|
|
|
59
58
|
linkTo(target: ITargetBlock_1<TOutput>, linkOptions: DataflowLinkOptions): IDisposable;
|
|
60
59
|
releaseReservation(messageHeader: DataflowMessageHeader, target: ITargetBlock_1<TOutput>): void;
|
|
61
60
|
reserveMessage(messageHeader: DataflowMessageHeader, target: ITargetBlock_1<TOutput>): boolean;
|
|
62
|
-
tryReceive(filter: Predicate_1<TOutput
|
|
63
|
-
tryReceiveAll(items: IList_1<TOutput>
|
|
61
|
+
tryReceive(filter: Predicate_1<TOutput>, item: TOutput): boolean;
|
|
62
|
+
tryReceiveAll(items: IList_1<TOutput>): boolean;
|
|
64
63
|
}
|
|
65
64
|
|
|
66
65
|
|
|
@@ -85,7 +84,7 @@ export interface ITargetBlock_1$instance<TInput> extends IDataflowBlock {
|
|
|
85
84
|
readonly completion: Task;
|
|
86
85
|
complete(): void;
|
|
87
86
|
fault(exception: Exception): void;
|
|
88
|
-
offerMessage(messageHeader: DataflowMessageHeader, messageValue: TInput, source: ISourceBlock_1<TInput
|
|
87
|
+
offerMessage(messageHeader: DataflowMessageHeader, messageValue: TInput, source: ISourceBlock_1<TInput>, consumeToAccept: boolean): DataflowMessageStatus;
|
|
89
88
|
}
|
|
90
89
|
|
|
91
90
|
|
|
@@ -150,8 +149,8 @@ export interface BatchBlock_1$instance<T> {
|
|
|
150
149
|
linkTo(target: ITargetBlock_1<T[]>, linkOptions: DataflowLinkOptions): IDisposable;
|
|
151
150
|
toString(): string;
|
|
152
151
|
triggerBatch(): void;
|
|
153
|
-
tryReceive(filter: Predicate_1<T[]
|
|
154
|
-
tryReceiveAll(items: IList_1<T[]>
|
|
152
|
+
tryReceive(filter: Predicate_1<T[]>, item: T[]): boolean;
|
|
153
|
+
tryReceiveAll(items: IList_1<T[]>): boolean;
|
|
155
154
|
}
|
|
156
155
|
|
|
157
156
|
|
|
@@ -180,8 +179,8 @@ export interface BatchedJoinBlock_2$instance<T1, T2> {
|
|
|
180
179
|
complete(): void;
|
|
181
180
|
linkTo(target: ITargetBlock_1<Tuple_2<IList_1<T1>, IList_1<T2>>>, linkOptions: DataflowLinkOptions): IDisposable;
|
|
182
181
|
toString(): string;
|
|
183
|
-
tryReceive(filter: Predicate_1<Tuple_2<IList_1<T1>, IList_1<T2
|
|
184
|
-
tryReceiveAll(items: IList_1<Tuple_2<IList_1<T1>, IList_1<T2>>>
|
|
182
|
+
tryReceive(filter: Predicate_1<Tuple_2<IList_1<T1>, IList_1<T2>>>, item: Tuple_2<IList_1<T1>, IList_1<T2>>): boolean;
|
|
183
|
+
tryReceiveAll(items: IList_1<Tuple_2<IList_1<T1>, IList_1<T2>>>): boolean;
|
|
185
184
|
}
|
|
186
185
|
|
|
187
186
|
|
|
@@ -210,8 +209,8 @@ export interface BatchedJoinBlock_3$instance<T1, T2, T3> {
|
|
|
210
209
|
complete(): void;
|
|
211
210
|
linkTo(target: ITargetBlock_1<Tuple_3<IList_1<T1>, IList_1<T2>, IList_1<T3>>>, linkOptions: DataflowLinkOptions): IDisposable;
|
|
212
211
|
toString(): string;
|
|
213
|
-
tryReceive(filter: Predicate_1<Tuple_3<IList_1<T1>, IList_1<T2>, IList_1<T3
|
|
214
|
-
tryReceiveAll(items: IList_1<Tuple_3<IList_1<T1>, IList_1<T2>, IList_1<T3>>>
|
|
212
|
+
tryReceive(filter: Predicate_1<Tuple_3<IList_1<T1>, IList_1<T2>, IList_1<T3>>>, item: Tuple_3<IList_1<T1>, IList_1<T2>, IList_1<T3>>): boolean;
|
|
213
|
+
tryReceiveAll(items: IList_1<Tuple_3<IList_1<T1>, IList_1<T2>, IList_1<T3>>>): boolean;
|
|
215
214
|
}
|
|
216
215
|
|
|
217
216
|
|
|
@@ -235,13 +234,13 @@ export interface BroadcastBlock_1$instance<T> {
|
|
|
235
234
|
complete(): void;
|
|
236
235
|
linkTo(target: ITargetBlock_1<T>, linkOptions: DataflowLinkOptions): IDisposable;
|
|
237
236
|
toString(): string;
|
|
238
|
-
tryReceive(filter: Predicate_1<T
|
|
237
|
+
tryReceive(filter: Predicate_1<T>, item: T): boolean;
|
|
239
238
|
}
|
|
240
239
|
|
|
241
240
|
|
|
242
241
|
export const BroadcastBlock_1: {
|
|
243
|
-
new<T>(cloningFunction: Func_2<T, T>
|
|
244
|
-
new<T>(cloningFunction: Func_2<T, T
|
|
242
|
+
new<T>(cloningFunction: Func_2<T, T>): BroadcastBlock_1<T>;
|
|
243
|
+
new<T>(cloningFunction: Func_2<T, T>, dataflowBlockOptions: DataflowBlockOptions): BroadcastBlock_1<T>;
|
|
245
244
|
};
|
|
246
245
|
|
|
247
246
|
|
|
@@ -261,8 +260,8 @@ export interface BufferBlock_1$instance<T> {
|
|
|
261
260
|
complete(): void;
|
|
262
261
|
linkTo(target: ITargetBlock_1<T>, linkOptions: DataflowLinkOptions): IDisposable;
|
|
263
262
|
toString(): string;
|
|
264
|
-
tryReceive(filter: Predicate_1<T
|
|
265
|
-
tryReceiveAll(items: IList_1<T>
|
|
263
|
+
tryReceive(filter: Predicate_1<T>, item: T): boolean;
|
|
264
|
+
tryReceiveAll(items: IList_1<T>): boolean;
|
|
266
265
|
}
|
|
267
266
|
|
|
268
267
|
|
|
@@ -348,8 +347,8 @@ export interface JoinBlock_2$instance<T1, T2> {
|
|
|
348
347
|
complete(): void;
|
|
349
348
|
linkTo(target: ITargetBlock_1<Tuple_2<T1, T2>>, linkOptions: DataflowLinkOptions): IDisposable;
|
|
350
349
|
toString(): string;
|
|
351
|
-
tryReceive(filter: Predicate_1<Tuple_2<T1, T2
|
|
352
|
-
tryReceiveAll(items: IList_1<Tuple_2<T1, T2>>
|
|
350
|
+
tryReceive(filter: Predicate_1<Tuple_2<T1, T2>>, item: Tuple_2<T1, T2>): boolean;
|
|
351
|
+
tryReceiveAll(items: IList_1<Tuple_2<T1, T2>>): boolean;
|
|
353
352
|
}
|
|
354
353
|
|
|
355
354
|
|
|
@@ -377,8 +376,8 @@ export interface JoinBlock_3$instance<T1, T2, T3> {
|
|
|
377
376
|
complete(): void;
|
|
378
377
|
linkTo(target: ITargetBlock_1<Tuple_3<T1, T2, T3>>, linkOptions: DataflowLinkOptions): IDisposable;
|
|
379
378
|
toString(): string;
|
|
380
|
-
tryReceive(filter: Predicate_1<Tuple_3<T1, T2, T3
|
|
381
|
-
tryReceiveAll(items: IList_1<Tuple_3<T1, T2, T3>>
|
|
379
|
+
tryReceive(filter: Predicate_1<Tuple_3<T1, T2, T3>>, item: Tuple_3<T1, T2, T3>): boolean;
|
|
380
|
+
tryReceiveAll(items: IList_1<Tuple_3<T1, T2, T3>>): boolean;
|
|
382
381
|
}
|
|
383
382
|
|
|
384
383
|
|
|
@@ -404,8 +403,8 @@ export interface TransformBlock_2$instance<TInput, TOutput> {
|
|
|
404
403
|
complete(): void;
|
|
405
404
|
linkTo(target: ITargetBlock_1<TOutput>, linkOptions: DataflowLinkOptions): IDisposable;
|
|
406
405
|
toString(): string;
|
|
407
|
-
tryReceive(filter: Predicate_1<TOutput
|
|
408
|
-
tryReceiveAll(items: IList_1<TOutput>
|
|
406
|
+
tryReceive(filter: Predicate_1<TOutput>, item: TOutput): boolean;
|
|
407
|
+
tryReceiveAll(items: IList_1<TOutput>): boolean;
|
|
409
408
|
}
|
|
410
409
|
|
|
411
410
|
|
|
@@ -432,8 +431,8 @@ export interface TransformManyBlock_2$instance<TInput, TOutput> {
|
|
|
432
431
|
complete(): void;
|
|
433
432
|
linkTo(target: ITargetBlock_1<TOutput>, linkOptions: DataflowLinkOptions): IDisposable;
|
|
434
433
|
toString(): string;
|
|
435
|
-
tryReceive(filter: Predicate_1<TOutput
|
|
436
|
-
tryReceiveAll(items: IList_1<TOutput>
|
|
434
|
+
tryReceive(filter: Predicate_1<TOutput>, item: TOutput): boolean;
|
|
435
|
+
tryReceiveAll(items: IList_1<TOutput>): boolean;
|
|
437
436
|
}
|
|
438
437
|
|
|
439
438
|
|
|
@@ -458,13 +457,13 @@ export interface WriteOnceBlock_1$instance<T> {
|
|
|
458
457
|
complete(): void;
|
|
459
458
|
linkTo(target: ITargetBlock_1<T>, linkOptions: DataflowLinkOptions): IDisposable;
|
|
460
459
|
toString(): string;
|
|
461
|
-
tryReceive(filter: Predicate_1<T
|
|
460
|
+
tryReceive(filter: Predicate_1<T>, item: T): boolean;
|
|
462
461
|
}
|
|
463
462
|
|
|
464
463
|
|
|
465
464
|
export const WriteOnceBlock_1: {
|
|
466
|
-
new<T>(cloningFunction: Func_2<T, T>
|
|
467
|
-
new<T>(cloningFunction: Func_2<T, T
|
|
465
|
+
new<T>(cloningFunction: Func_2<T, T>): WriteOnceBlock_1<T>;
|
|
466
|
+
new<T>(cloningFunction: Func_2<T, T>, dataflowBlockOptions: DataflowBlockOptions): WriteOnceBlock_1<T>;
|
|
468
467
|
};
|
|
469
468
|
|
|
470
469
|
|
|
@@ -52,3 +52,6 @@ export type JoinBlock<
|
|
|
52
52
|
[T3] extends [__] ? Internal.JoinBlock_2<T1, T2> :
|
|
53
53
|
Internal.JoinBlock_3<T1, T2, T3>;
|
|
54
54
|
|
|
55
|
+
// Extension methods (C# using semantics)
|
|
56
|
+
export type { ExtensionMethods_System_Threading_Tasks_Dataflow as ExtensionMethods } from './__internal/extensions/index.js';
|
|
57
|
+
|
|
@@ -27,16 +27,16 @@ export enum ValueTaskSourceStatus {
|
|
|
27
27
|
export interface IValueTaskSource$instance {
|
|
28
28
|
getResult(token: short): void;
|
|
29
29
|
getStatus(token: short): ValueTaskSourceStatus;
|
|
30
|
-
onCompleted(continuation: Action_1<unknown
|
|
30
|
+
onCompleted(continuation: Action_1<unknown>, state: unknown, token: short, flags: ValueTaskSourceOnCompletedFlags): void;
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
|
|
34
34
|
export type IValueTaskSource = IValueTaskSource$instance;
|
|
35
35
|
|
|
36
36
|
export interface IValueTaskSource_1$instance<TResult> {
|
|
37
|
-
getResult(token: short): TResult
|
|
37
|
+
getResult(token: short): TResult;
|
|
38
38
|
getStatus(token: short): ValueTaskSourceStatus;
|
|
39
|
-
onCompleted(continuation: Action_1<unknown
|
|
39
|
+
onCompleted(continuation: Action_1<unknown>, state: unknown, token: short, flags: ValueTaskSourceOnCompletedFlags): void;
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
|
|
@@ -47,7 +47,7 @@ export interface ManualResetValueTaskSourceCore_1$instance<TResult> {
|
|
|
47
47
|
readonly version: short;
|
|
48
48
|
getResult(token: short): TResult;
|
|
49
49
|
getStatus(token: short): ValueTaskSourceStatus;
|
|
50
|
-
onCompleted(continuation: Action_1<unknown
|
|
50
|
+
onCompleted(continuation: Action_1<unknown>, state: unknown, token: short, flags: ValueTaskSourceOnCompletedFlags): void;
|
|
51
51
|
reset(): void;
|
|
52
52
|
setException(error: Exception): void;
|
|
53
53
|
setResult(result: TResult): void;
|
package/System.Threading.d.ts
CHANGED
|
@@ -97,3 +97,6 @@ export { EventWaitHandleAcl$instance as EventWaitHandleAcl } from './System.Thre
|
|
|
97
97
|
export { MutexAcl$instance as MutexAcl } from './System.Threading/internal/index.js';
|
|
98
98
|
export { SemaphoreAcl$instance as SemaphoreAcl } from './System.Threading/internal/index.js';
|
|
99
99
|
export { ThreadingAclExtensions$instance as ThreadingAclExtensions } from './System.Threading/internal/index.js';
|
|
100
|
+
// Extension methods (C# using semantics)
|
|
101
|
+
export type { ExtensionMethods_System_Threading as ExtensionMethods } from './__internal/extensions/index.js';
|
|
102
|
+
|
|
@@ -14,7 +14,7 @@ import type { ISerializable, SerializationInfo, StreamingContext } from "../../S
|
|
|
14
14
|
import * as System_Internal from "../../System/internal/index.js";
|
|
15
15
|
import type { AsyncCallback, Boolean as ClrBoolean, DateTime, Delegate, Double, EventArgs, IAsyncResult, ICloneable, IDisposable, Int32, IntPtr, MulticastDelegate, Object as ClrObject, String as ClrString, TimeSpan, Type, Void } from "../../System/internal/index.js";
|
|
16
16
|
|
|
17
|
-
export type ElapsedEventHandler = (sender: unknown
|
|
17
|
+
export type ElapsedEventHandler = (sender: unknown, e: ElapsedEventArgs) => void;
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
export interface ElapsedEventArgs$instance extends EventArgs {
|
|
@@ -33,8 +33,10 @@ export interface Timer$instance extends Component {
|
|
|
33
33
|
autoReset: boolean;
|
|
34
34
|
enabled: boolean;
|
|
35
35
|
interval: double;
|
|
36
|
-
site: ISite | undefined;
|
|
37
|
-
|
|
36
|
+
get site(): ISite | undefined;
|
|
37
|
+
set site(value: ISite);
|
|
38
|
+
get synchronizingObject(): ISynchronizeInvoke | undefined;
|
|
39
|
+
set synchronizingObject(value: ISynchronizeInvoke);
|
|
38
40
|
beginInit(): void;
|
|
39
41
|
close(): void;
|
|
40
42
|
dispose(): void;
|
|
@@ -68,10 +68,10 @@ export enum TransactionStatus {
|
|
|
68
68
|
export type HostCurrentTransactionCallback = () => Transaction;
|
|
69
69
|
|
|
70
70
|
|
|
71
|
-
export type TransactionCompletedEventHandler = (sender: unknown
|
|
71
|
+
export type TransactionCompletedEventHandler = (sender: unknown, e: TransactionEventArgs) => void;
|
|
72
72
|
|
|
73
73
|
|
|
74
|
-
export type TransactionStartedEventHandler = (sender: unknown
|
|
74
|
+
export type TransactionStartedEventHandler = (sender: unknown, e: TransactionEventArgs) => void;
|
|
75
75
|
|
|
76
76
|
|
|
77
77
|
export interface IDtcTransaction$instance {
|
|
@@ -232,10 +232,10 @@ export type PreparingEnlistment = PreparingEnlistment$instance;
|
|
|
232
232
|
|
|
233
233
|
export interface SinglePhaseEnlistment$instance extends Enlistment {
|
|
234
234
|
aborted(): void;
|
|
235
|
-
aborted(e: Exception
|
|
235
|
+
aborted(e: Exception): void;
|
|
236
236
|
committed(): void;
|
|
237
237
|
inDoubt(): void;
|
|
238
|
-
inDoubt(e: Exception
|
|
238
|
+
inDoubt(e: Exception): void;
|
|
239
239
|
}
|
|
240
240
|
|
|
241
241
|
|
|
@@ -292,7 +292,8 @@ export interface Transaction$instance {
|
|
|
292
292
|
|
|
293
293
|
export const Transaction: {
|
|
294
294
|
new(): Transaction;
|
|
295
|
-
current: Transaction | undefined;
|
|
295
|
+
get current(): Transaction | undefined;
|
|
296
|
+
set current(value: Transaction);
|
|
296
297
|
};
|
|
297
298
|
|
|
298
299
|
|
|
@@ -313,8 +314,8 @@ export interface TransactionAbortedException$instance extends TransactionExcepti
|
|
|
313
314
|
|
|
314
315
|
export const TransactionAbortedException: {
|
|
315
316
|
new(): TransactionAbortedException;
|
|
316
|
-
new(message: string
|
|
317
|
-
new(message: string
|
|
317
|
+
new(message: string): TransactionAbortedException;
|
|
318
|
+
new(message: string, innerException: Exception): TransactionAbortedException;
|
|
318
319
|
};
|
|
319
320
|
|
|
320
321
|
|
|
@@ -344,8 +345,8 @@ export interface TransactionException$instance extends SystemException {
|
|
|
344
345
|
|
|
345
346
|
export const TransactionException: {
|
|
346
347
|
new(): TransactionException;
|
|
347
|
-
new(message: string
|
|
348
|
-
new(message: string
|
|
348
|
+
new(message: string): TransactionException;
|
|
349
|
+
new(message: string, innerException: Exception): TransactionException;
|
|
349
350
|
};
|
|
350
351
|
|
|
351
352
|
|
|
@@ -363,8 +364,8 @@ export interface TransactionInDoubtException$instance extends TransactionExcepti
|
|
|
363
364
|
|
|
364
365
|
export const TransactionInDoubtException: {
|
|
365
366
|
new(): TransactionInDoubtException;
|
|
366
|
-
new(message: string
|
|
367
|
-
new(message: string
|
|
367
|
+
new(message: string): TransactionInDoubtException;
|
|
368
|
+
new(message: string, innerException: Exception): TransactionInDoubtException;
|
|
368
369
|
};
|
|
369
370
|
|
|
370
371
|
|
|
@@ -397,8 +398,8 @@ export interface TransactionManagerCommunicationException$instance extends Trans
|
|
|
397
398
|
|
|
398
399
|
export const TransactionManagerCommunicationException: {
|
|
399
400
|
new(): TransactionManagerCommunicationException;
|
|
400
|
-
new(message: string
|
|
401
|
-
new(message: string
|
|
401
|
+
new(message: string): TransactionManagerCommunicationException;
|
|
402
|
+
new(message: string, innerException: Exception): TransactionManagerCommunicationException;
|
|
402
403
|
};
|
|
403
404
|
|
|
404
405
|
|
|
@@ -416,8 +417,8 @@ export interface TransactionPromotionException$instance extends TransactionExcep
|
|
|
416
417
|
|
|
417
418
|
export const TransactionPromotionException: {
|
|
418
419
|
new(): TransactionPromotionException;
|
|
419
|
-
new(message: string
|
|
420
|
-
new(message: string
|
|
420
|
+
new(message: string): TransactionPromotionException;
|
|
421
|
+
new(message: string, innerException: Exception): TransactionPromotionException;
|
|
421
422
|
};
|
|
422
423
|
|
|
423
424
|
|
|
@@ -476,7 +477,8 @@ export abstract class TransactionInterop$instance {
|
|
|
476
477
|
export type TransactionInterop = TransactionInterop$instance;
|
|
477
478
|
|
|
478
479
|
export abstract class TransactionManager$instance {
|
|
479
|
-
static hostCurrentCallback: HostCurrentTransactionCallback | undefined;
|
|
480
|
+
static get hostCurrentCallback(): HostCurrentTransactionCallback | undefined;
|
|
481
|
+
static set hostCurrentCallback(value: HostCurrentTransactionCallback);
|
|
480
482
|
static defaultTimeout: TimeSpan;
|
|
481
483
|
static maximumTimeout: TimeSpan;
|
|
482
484
|
static implicitDistributedTransactions: boolean;
|