@tsonic/dotnet 10.0.39 → 10.0.41
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 +4 -3
- package/Microsoft.CSharp.RuntimeBinder/internal/index.d.ts +19 -18
- package/Microsoft.VisualBasic/internal/index.d.ts +52 -54
- package/Microsoft.VisualBasic.CompilerServices/internal/index.d.ts +117 -119
- package/Microsoft.VisualBasic.FileIO/internal/index.d.ts +3 -2
- package/Microsoft.Win32/internal/index.d.ts +19 -18
- package/Microsoft.Win32.SafeHandles/internal/index.d.ts +3 -2
- package/README.md +76 -104
- package/System/bindings.json +1520 -2039
- package/System/internal/index.d.ts +1549 -1602
- package/System.Buffers/bindings.json +12 -3
- package/System.Buffers/internal/index.d.ts +12 -14
- package/System.Buffers.Binary/internal/index.d.ts +2 -4
- package/System.Buffers.Text/internal/index.d.ts +2 -4
- package/System.CodeDom.Compiler/internal/index.d.ts +32 -31
- package/System.Collections/internal/index.d.ts +129 -131
- package/System.Collections.Concurrent/bindings.json +218 -218
- package/System.Collections.Concurrent/internal/index.d.ts +34 -36
- package/System.Collections.Frozen/bindings.json +413 -611
- package/System.Collections.Frozen/internal/index.d.ts +81 -97
- package/System.Collections.Frozen.d.ts +14 -2
- package/System.Collections.Generic/bindings.json +9420 -14155
- package/System.Collections.Generic/internal/index.d.ts +547 -758
- package/System.Collections.Generic.d.ts +1 -1
- package/System.Collections.Immutable/bindings.json +6000 -9080
- package/System.Collections.Immutable/internal/index.d.ts +265 -354
- package/System.Collections.Immutable.d.ts +49 -12
- package/System.Collections.ObjectModel/bindings.json +132 -654
- package/System.Collections.ObjectModel/internal/index.d.ts +10 -30
- package/System.Collections.Specialized/bindings.json +0 -123
- package/System.Collections.Specialized/internal/index.d.ts +88 -101
- package/System.ComponentModel/bindings.json +163 -102
- package/System.ComponentModel/internal/index.d.ts +618 -608
- package/System.ComponentModel.DataAnnotations/internal/index.d.ts +133 -132
- package/System.ComponentModel.DataAnnotations.Schema/internal/index.d.ts +8 -7
- package/System.ComponentModel.Design/bindings.json +22 -292
- package/System.ComponentModel.Design/internal/index.d.ts +101 -109
- package/System.ComponentModel.Design.Serialization/internal/index.d.ts +61 -60
- package/System.ComponentModel.d.ts +1 -0
- package/System.Configuration.Assemblies/internal/index.d.ts +3 -2
- package/System.Data/bindings.json +4 -1
- package/System.Data/internal/index.d.ts +351 -350
- package/System.Data.Common/internal/index.d.ts +151 -152
- package/System.Data.SqlTypes/internal/index.d.ts +68 -67
- package/System.Diagnostics/bindings.json +7044 -7249
- package/System.Diagnostics/internal/index.d.ts +446 -461
- package/System.Diagnostics.CodeAnalysis/internal/index.d.ts +44 -43
- package/System.Diagnostics.Contracts/internal/index.d.ts +16 -18
- package/System.Diagnostics.Metrics/internal/index.d.ts +92 -94
- package/System.Diagnostics.Metrics.d.ts +1 -1
- package/System.Diagnostics.SymbolStore/internal/index.d.ts +12 -11
- package/System.Diagnostics.Tracing/bindings.json +81 -21
- package/System.Diagnostics.Tracing/internal/index.d.ts +69 -56
- package/System.Diagnostics.Tracing.d.ts +2 -1
- package/System.Drawing/internal/index.d.ts +76 -75
- package/System.Dynamic/internal/index.d.ts +55 -57
- package/System.Formats.Asn1/bindings.json +48 -69
- package/System.Formats.Asn1/internal/index.d.ts +21 -28
- package/System.Formats.Tar/internal/index.d.ts +8 -7
- package/System.Globalization/internal/index.d.ts +40 -42
- package/System.IO/internal/index.d.ts +187 -189
- package/System.IO.Compression/internal/index.d.ts +29 -31
- package/System.IO.Enumeration/bindings.json +250 -250
- package/System.IO.Enumeration/internal/index.d.ts +15 -17
- package/System.IO.IsolatedStorage/internal/index.d.ts +19 -18
- package/System.IO.MemoryMappedFiles/internal/index.d.ts +11 -10
- package/System.IO.Pipelines/internal/index.d.ts +15 -17
- package/System.IO.Pipes/internal/index.d.ts +8 -7
- package/System.Linq/internal/index.d.ts +223 -225
- package/System.Linq.Expressions/internal/index.d.ts +205 -207
- package/System.Linq.Expressions.Interpreter/internal/index.d.ts +5 -4
- package/System.Net/bindings.json +104 -104
- package/System.Net/internal/index.d.ts +279 -281
- package/System.Net.Cache/internal/index.d.ts +3 -2
- package/System.Net.Http/internal/index.d.ts +128 -130
- package/System.Net.Http.Headers/bindings.json +0 -204
- package/System.Net.Http.Headers/internal/index.d.ts +111 -127
- package/System.Net.Http.Json/internal/index.d.ts +67 -69
- package/System.Net.Http.Metrics/internal/index.d.ts +6 -5
- package/System.Net.Mail/internal/index.d.ts +76 -78
- package/System.Net.Mime/internal/index.d.ts +11 -10
- package/System.Net.NetworkInformation/internal/index.d.ts +30 -32
- package/System.Net.Quic/internal/index.d.ts +10 -9
- package/System.Net.Security/internal/index.d.ts +87 -89
- package/System.Net.ServerSentEvents/internal/index.d.ts +6 -5
- package/System.Net.Sockets/internal/index.d.ts +91 -93
- package/System.Net.WebSockets/internal/index.d.ts +47 -46
- package/System.Numerics/bindings.json +544 -116
- package/System.Numerics/internal/index.d.ts +110 -112
- package/System.Reflection/internal/index.d.ts +270 -272
- package/System.Reflection.Emit/internal/index.d.ts +114 -116
- package/System.Reflection.Metadata/bindings.json +166 -3169
- package/System.Reflection.Metadata/internal/index.d.ts +154 -361
- package/System.Reflection.Metadata.Ecma335/internal/index.d.ts +13 -15
- package/System.Reflection.PortableExecutable/bindings.json +58 -0
- package/System.Reflection.PortableExecutable/internal/index.d.ts +24 -11
- package/System.Reflection.PortableExecutable.d.ts +1 -0
- package/System.Resources/internal/index.d.ts +33 -35
- package/System.Runtime/internal/index.d.ts +12 -11
- package/System.Runtime.CompilerServices/bindings.json +519 -717
- package/System.Runtime.CompilerServices/internal/index.d.ts +113 -137
- package/System.Runtime.CompilerServices.d.ts +14 -4
- package/System.Runtime.ConstrainedExecution/internal/index.d.ts +3 -2
- package/System.Runtime.ExceptionServices/internal/index.d.ts +4 -3
- package/System.Runtime.InteropServices/bindings.json +101 -101
- package/System.Runtime.InteropServices/internal/index.d.ts +234 -236
- package/System.Runtime.InteropServices.ComTypes/internal/index.d.ts +34 -36
- package/System.Runtime.InteropServices.Java/internal/index.d.ts +4 -6
- package/System.Runtime.InteropServices.JavaScript/bindings.json +328 -328
- package/System.Runtime.InteropServices.JavaScript/internal/index.d.ts +67 -69
- package/System.Runtime.InteropServices.JavaScript.d.ts +8 -26
- package/System.Runtime.InteropServices.Marshalling/bindings.json +2619 -2619
- package/System.Runtime.InteropServices.Marshalling/internal/index.d.ts +308 -310
- package/System.Runtime.InteropServices.ObjectiveC/bindings.json +141 -141
- package/System.Runtime.InteropServices.ObjectiveC/internal/index.d.ts +17 -19
- package/System.Runtime.InteropServices.Swift/internal/index.d.ts +4 -6
- package/System.Runtime.InteropServices.Swift.d.ts +1 -1
- package/System.Runtime.Intrinsics/bindings.json +64 -16
- package/System.Runtime.Intrinsics/internal/index.d.ts +22 -24
- package/System.Runtime.Intrinsics.Arm/internal/index.d.ts +12 -13
- package/System.Runtime.Intrinsics.Wasm/internal/index.d.ts +2 -4
- package/System.Runtime.Intrinsics.X86/internal/index.d.ts +42 -41
- package/System.Runtime.Loader/bindings.json +48 -69
- package/System.Runtime.Loader/internal/index.d.ts +30 -34
- package/System.Runtime.Remoting/internal/index.d.ts +5 -4
- package/System.Runtime.Serialization/internal/index.d.ts +175 -177
- package/System.Runtime.Serialization.DataContracts/internal/index.d.ts +29 -31
- package/System.Runtime.Serialization.Formatters/internal/index.d.ts +7 -6
- package/System.Runtime.Serialization.Formatters.Binary/internal/index.d.ts +10 -9
- package/System.Runtime.Serialization.Json/internal/index.d.ts +37 -36
- package/System.Runtime.Versioning/internal/index.d.ts +20 -19
- package/System.Security/internal/index.d.ts +64 -66
- package/System.Security.AccessControl/bindings.json +104 -0
- package/System.Security.AccessControl/internal/index.d.ts +59 -58
- package/System.Security.AccessControl.d.ts +6 -5
- package/System.Security.Authentication/internal/index.d.ts +7 -6
- package/System.Security.Authentication.ExtendedProtection/internal/index.d.ts +12 -11
- package/System.Security.Claims/internal/index.d.ts +45 -44
- package/System.Security.Cryptography/bindings.json +469 -469
- package/System.Security.Cryptography/internal/index.d.ts +269 -271
- package/System.Security.Cryptography.X509Certificates/bindings.json +0 -62
- package/System.Security.Cryptography.X509Certificates/internal/index.d.ts +98 -105
- package/System.Security.Permissions/internal/index.d.ts +5 -4
- package/System.Security.Policy/internal/index.d.ts +11 -10
- package/System.Security.Principal/internal/index.d.ts +28 -27
- package/System.Text/bindings.json +1562 -1562
- package/System.Text/internal/index.d.ts +119 -121
- package/System.Text.Encodings.Web/internal/index.d.ts +2 -4
- package/System.Text.Json/bindings.json +0 -290
- package/System.Text.Json/internal/index.d.ts +135 -153
- package/System.Text.Json.Nodes/internal/index.d.ts +60 -62
- package/System.Text.Json.Schema/internal/index.d.ts +9 -8
- package/System.Text.Json.Serialization/internal/index.d.ts +32 -34
- package/System.Text.Json.Serialization.Metadata/internal/index.d.ts +86 -85
- package/System.Text.Json.Serialization.d.ts +1 -1
- package/System.Text.RegularExpressions/bindings.json +198 -402
- package/System.Text.RegularExpressions/internal/index.d.ts +48 -64
- package/System.Text.Unicode/bindings.json +508 -508
- package/System.Text.Unicode/internal/index.d.ts +29 -31
- package/System.Threading/bindings.json +42 -42
- package/System.Threading/internal/index.d.ts +157 -159
- package/System.Threading.Channels/internal/index.d.ts +10 -12
- package/System.Threading.Tasks/bindings.json +4 -1
- package/System.Threading.Tasks/internal/index.d.ts +115 -114
- package/System.Threading.Tasks.Dataflow/internal/index.d.ts +32 -33
- package/System.Threading.Tasks.Sources/internal/index.d.ts +6 -5
- package/System.Timers/internal/index.d.ts +8 -7
- package/System.Transactions/internal/index.d.ts +31 -30
- package/System.Web/internal/index.d.ts +32 -31
- package/System.Windows.Input/internal/index.d.ts +5 -4
- package/System.Windows.Markup/internal/index.d.ts +3 -2
- package/System.Xml/internal/index.d.ts +383 -385
- package/System.Xml.Linq/internal/index.d.ts +103 -102
- package/System.Xml.Resolvers/internal/index.d.ts +10 -9
- package/System.Xml.Schema/bindings.json +76 -76
- package/System.Xml.Schema/internal/index.d.ts +233 -232
- package/System.Xml.Serialization/bindings.json +193 -0
- package/System.Xml.Serialization/internal/index.d.ts +277 -245
- package/System.Xml.Serialization.d.ts +2 -0
- package/System.Xml.XPath/internal/index.d.ts +46 -45
- package/System.Xml.Xsl/internal/index.d.ts +53 -52
- package/System.Xml.Xsl.Runtime/bindings.json +4 -1
- package/System.Xml.Xsl.Runtime/internal/index.d.ts +35 -37
- package/System.d.ts +2 -2
- package/__internal/extensions/index.d.ts +517 -515
- package/families.json +63 -7
- package/package.json +2 -2
|
@@ -2,11 +2,9 @@
|
|
|
2
2
|
// Namespace: System.Threading.Channels
|
|
3
3
|
// Assembly: System.Threading.Channels
|
|
4
4
|
|
|
5
|
-
//
|
|
6
|
-
import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
5
|
+
// Core type aliases from @tsonic/core
|
|
6
|
+
import type { JsValue, fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
7
7
|
|
|
8
|
-
// Import support types from @tsonic/core
|
|
9
|
-
import type { ptr } from "@tsonic/core/types.js";
|
|
10
8
|
|
|
11
9
|
// Import types from other namespaces
|
|
12
10
|
import type { IAsyncEnumerable_1, IComparer_1 } from "../../System.Collections.Generic/internal/index.js";
|
|
@@ -78,9 +76,9 @@ export interface ChannelClosedException$instance extends InvalidOperationExcepti
|
|
|
78
76
|
|
|
79
77
|
export const ChannelClosedException: {
|
|
80
78
|
new(): ChannelClosedException;
|
|
81
|
-
new(message: string): ChannelClosedException;
|
|
82
|
-
new(innerException: Exception): ChannelClosedException;
|
|
83
|
-
new(message: string, innerException: Exception): ChannelClosedException;
|
|
79
|
+
new(message: string | null): ChannelClosedException;
|
|
80
|
+
new(innerException: Exception | null): ChannelClosedException;
|
|
81
|
+
new(message: string | null, innerException: Exception | null): ChannelClosedException;
|
|
84
82
|
};
|
|
85
83
|
|
|
86
84
|
|
|
@@ -130,8 +128,8 @@ export type ChannelReader_1<T> = ChannelReader_1$instance<T>;
|
|
|
130
128
|
export interface ChannelWriter_1$instance<T> {
|
|
131
129
|
readonly __tsonic_type_System_Threading_Channels_ChannelWriter_1: never;
|
|
132
130
|
|
|
133
|
-
Complete(error?: Exception): void;
|
|
134
|
-
TryComplete(error?: Exception): boolean;
|
|
131
|
+
Complete(error?: Exception | null): void;
|
|
132
|
+
TryComplete(error?: Exception | null): boolean;
|
|
135
133
|
TryWrite(item: T): boolean;
|
|
136
134
|
WaitToWriteAsync(cancellationToken?: CancellationToken): ValueTask_1<System_Internal.Boolean>;
|
|
137
135
|
WriteAsync(item: T, cancellationToken?: CancellationToken): ValueTask;
|
|
@@ -160,8 +158,8 @@ export type UnboundedChannelOptions = UnboundedChannelOptions$instance;
|
|
|
160
158
|
export interface UnboundedPrioritizedChannelOptions_1$instance<T> extends ChannelOptions {
|
|
161
159
|
readonly __tsonic_type_System_Threading_Channels_UnboundedPrioritizedChannelOptions_1: never;
|
|
162
160
|
|
|
163
|
-
get Comparer(): IComparer_1<T> |
|
|
164
|
-
set Comparer(value: IComparer_1<T> |
|
|
161
|
+
get Comparer(): IComparer_1<T> | null;
|
|
162
|
+
set Comparer(value: IComparer_1<T> | null);
|
|
165
163
|
}
|
|
166
164
|
|
|
167
165
|
|
|
@@ -174,7 +172,7 @@ export type UnboundedPrioritizedChannelOptions_1<T> = UnboundedPrioritizedChanne
|
|
|
174
172
|
|
|
175
173
|
export abstract class Channel$instance {
|
|
176
174
|
static CreateBounded<T>(capacity: int): Channel_1<T>;
|
|
177
|
-
static CreateBounded<T>(options: BoundedChannelOptions, itemDropped: Action_1<T>): Channel_1<T>;
|
|
175
|
+
static CreateBounded<T>(options: BoundedChannelOptions, itemDropped: Action_1<T> | null): Channel_1<T>;
|
|
178
176
|
static CreateBounded<T>(options: BoundedChannelOptions): Channel_1<T>;
|
|
179
177
|
static CreateUnbounded<T>(): Channel_1<T>;
|
|
180
178
|
static CreateUnbounded<T>(options: UnboundedChannelOptions): Channel_1<T>;
|
|
@@ -5171,7 +5171,10 @@
|
|
|
5171
5171
|
"isOverride": false,
|
|
5172
5172
|
"visibility": "Public",
|
|
5173
5173
|
"declaringClrType": "System.Threading.Tasks.Task\u00601",
|
|
5174
|
-
"declaringAssemblyName": "System.Private.CoreLib"
|
|
5174
|
+
"declaringAssemblyName": "System.Private.CoreLib",
|
|
5175
|
+
"emitSemantics": {
|
|
5176
|
+
"callableStaticAccessorKind": "property"
|
|
5177
|
+
}
|
|
5175
5178
|
},
|
|
5176
5179
|
{
|
|
5177
5180
|
"stableId": "System.Private.CoreLib:System.IAsyncResult::IsCompleted:System.Boolean",
|
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
// Namespace: System.Threading.Tasks
|
|
3
3
|
// Assembly: System.Private.CoreLib, System.Threading.Tasks.Parallel
|
|
4
4
|
|
|
5
|
-
//
|
|
6
|
-
import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
5
|
+
// Core type aliases from @tsonic/core
|
|
6
|
+
import type { JsValue, fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
7
|
+
|
|
7
8
|
|
|
8
9
|
// Import types from other namespaces
|
|
9
10
|
import type { OrderablePartitioner_1, Partitioner_1 } from "../../System.Collections.Concurrent/internal/index.js";
|
|
@@ -95,7 +96,7 @@ export interface ValueTask$instance {
|
|
|
95
96
|
readonly IsFaulted: boolean;
|
|
96
97
|
AsTask(): Task;
|
|
97
98
|
ConfigureAwait(continueOnCapturedContext: boolean): ConfiguredValueTaskAwaitable;
|
|
98
|
-
Equals(obj:
|
|
99
|
+
Equals(obj: JsValue | null): boolean;
|
|
99
100
|
Equals(other: ValueTask): boolean;
|
|
100
101
|
GetAwaiter(): ValueTaskAwaiter;
|
|
101
102
|
GetHashCode(): int;
|
|
@@ -123,8 +124,8 @@ export interface __ValueTask$views {
|
|
|
123
124
|
}
|
|
124
125
|
|
|
125
126
|
export type ValueTask = ValueTask$instance & __ValueTask$views & {
|
|
126
|
-
then<TResult1 = void, TResult2 = never>(onfulfilled?: ((value: void) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason:
|
|
127
|
-
then<TResult1 =
|
|
127
|
+
then<TResult1 = void, TResult2 = never>(onfulfilled?: ((value: void) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: JsValue) => TResult2 | PromiseLike<TResult2>) | undefined | null): PromiseLike<TResult1 | TResult2>;
|
|
128
|
+
then<TResult1 = JsValue, TResult2 = never>(onfulfilled?: ((value: JsValue) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: JsValue) => TResult2 | PromiseLike<TResult2>) | undefined | null): PromiseLike<TResult1 | TResult2>;
|
|
128
129
|
};
|
|
129
130
|
|
|
130
131
|
|
|
@@ -140,12 +141,12 @@ export interface ValueTask_1$instance<TResult> {
|
|
|
140
141
|
readonly Result: TResult;
|
|
141
142
|
AsTask(): Task_1<TResult>;
|
|
142
143
|
ConfigureAwait(continueOnCapturedContext: boolean): ConfiguredValueTaskAwaitable_1<TResult>;
|
|
143
|
-
Equals(obj:
|
|
144
|
+
Equals(obj: JsValue | null): boolean;
|
|
144
145
|
Equals(other: ValueTask_1<TResult>): boolean;
|
|
145
146
|
GetAwaiter(): ValueTaskAwaiter_1<TResult>;
|
|
146
147
|
GetHashCode(): int;
|
|
147
148
|
Preserve(): ValueTask_1<TResult>;
|
|
148
|
-
ToString(): string |
|
|
149
|
+
ToString(): string | null;
|
|
149
150
|
}
|
|
150
151
|
|
|
151
152
|
|
|
@@ -164,8 +165,8 @@ export interface __ValueTask_1$views<TResult> {
|
|
|
164
165
|
}
|
|
165
166
|
|
|
166
167
|
export type ValueTask_1<TResult> = ValueTask_1$instance<TResult> & __ValueTask_1$views<TResult> & {
|
|
167
|
-
then<TResult1 = TResult, TResult2 = never>(onfulfilled?: ((value: TResult) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason:
|
|
168
|
-
then<TResult1 =
|
|
168
|
+
then<TResult1 = TResult, TResult2 = never>(onfulfilled?: ((value: TResult) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: JsValue) => TResult2 | PromiseLike<TResult2>) | undefined | null): PromiseLike<TResult1 | TResult2>;
|
|
169
|
+
then<TResult1 = JsValue, TResult2 = never>(onfulfilled?: ((value: JsValue) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: JsValue) => TResult2 | PromiseLike<TResult2>) | undefined | null): PromiseLike<TResult1 | TResult2>;
|
|
169
170
|
};
|
|
170
171
|
|
|
171
172
|
|
|
@@ -212,8 +213,8 @@ export interface ParallelOptions$instance {
|
|
|
212
213
|
|
|
213
214
|
CancellationToken: CancellationToken;
|
|
214
215
|
MaxDegreeOfParallelism: int;
|
|
215
|
-
get TaskScheduler(): TaskScheduler |
|
|
216
|
-
set TaskScheduler(value: TaskScheduler |
|
|
216
|
+
get TaskScheduler(): TaskScheduler | null;
|
|
217
|
+
set TaskScheduler(value: TaskScheduler | null);
|
|
217
218
|
}
|
|
218
219
|
|
|
219
220
|
|
|
@@ -230,9 +231,9 @@ export interface Task$instance extends System_Internal.IAsyncResult$instance {
|
|
|
230
231
|
readonly __tsonic_iface_System_IAsyncResult: never;
|
|
231
232
|
readonly __tsonic_iface_System_IDisposable: never;
|
|
232
233
|
|
|
233
|
-
readonly AsyncState:
|
|
234
|
+
readonly AsyncState: JsValue | null;
|
|
234
235
|
readonly CreationOptions: TaskCreationOptions;
|
|
235
|
-
readonly Exception: AggregateException |
|
|
236
|
+
readonly Exception: AggregateException | null;
|
|
236
237
|
readonly Id: int;
|
|
237
238
|
readonly IsCanceled: boolean;
|
|
238
239
|
readonly IsCompleted: boolean;
|
|
@@ -246,21 +247,21 @@ export interface Task$instance extends System_Internal.IAsyncResult$instance {
|
|
|
246
247
|
ContinueWith(continuationAction: Action_1<Task>, scheduler: TaskScheduler): Task;
|
|
247
248
|
ContinueWith(continuationAction: Action_1<Task>, continuationOptions: TaskContinuationOptions): Task;
|
|
248
249
|
ContinueWith(continuationAction: Action_1<Task>, cancellationToken: CancellationToken, continuationOptions: TaskContinuationOptions, scheduler: TaskScheduler): Task;
|
|
249
|
-
ContinueWith(continuationAction: Action_2<Task,
|
|
250
|
-
ContinueWith(continuationAction: Action_2<Task,
|
|
251
|
-
ContinueWith(continuationAction: Action_2<Task,
|
|
252
|
-
ContinueWith(continuationAction: Action_2<Task,
|
|
253
|
-
ContinueWith(continuationAction: Action_2<Task,
|
|
250
|
+
ContinueWith(continuationAction: Action_2<Task, JsValue | null>, state: JsValue | null): Task;
|
|
251
|
+
ContinueWith(continuationAction: Action_2<Task, JsValue | null>, state: JsValue | null, cancellationToken: CancellationToken): Task;
|
|
252
|
+
ContinueWith(continuationAction: Action_2<Task, JsValue | null>, state: JsValue | null, scheduler: TaskScheduler): Task;
|
|
253
|
+
ContinueWith(continuationAction: Action_2<Task, JsValue | null>, state: JsValue | null, continuationOptions: TaskContinuationOptions): Task;
|
|
254
|
+
ContinueWith(continuationAction: Action_2<Task, JsValue | null>, state: JsValue | null, cancellationToken: CancellationToken, continuationOptions: TaskContinuationOptions, scheduler: TaskScheduler): Task;
|
|
254
255
|
ContinueWith<TResult>(continuationFunction: Func_2<Task, TResult>): Task_1<TResult>;
|
|
255
256
|
ContinueWith<TResult>(continuationFunction: Func_2<Task, TResult>, cancellationToken: CancellationToken): Task_1<TResult>;
|
|
256
257
|
ContinueWith<TResult>(continuationFunction: Func_2<Task, TResult>, scheduler: TaskScheduler): Task_1<TResult>;
|
|
257
258
|
ContinueWith<TResult>(continuationFunction: Func_2<Task, TResult>, continuationOptions: TaskContinuationOptions): Task_1<TResult>;
|
|
258
259
|
ContinueWith<TResult>(continuationFunction: Func_2<Task, TResult>, cancellationToken: CancellationToken, continuationOptions: TaskContinuationOptions, scheduler: TaskScheduler): Task_1<TResult>;
|
|
259
|
-
ContinueWith<TResult>(continuationFunction: Func_3<Task,
|
|
260
|
-
ContinueWith<TResult>(continuationFunction: Func_3<Task,
|
|
261
|
-
ContinueWith<TResult>(continuationFunction: Func_3<Task,
|
|
262
|
-
ContinueWith<TResult>(continuationFunction: Func_3<Task,
|
|
263
|
-
ContinueWith<TResult>(continuationFunction: Func_3<Task,
|
|
260
|
+
ContinueWith<TResult>(continuationFunction: Func_3<Task, JsValue | null, TResult>, state: JsValue | null): Task_1<TResult>;
|
|
261
|
+
ContinueWith<TResult>(continuationFunction: Func_3<Task, JsValue | null, TResult>, state: JsValue | null, cancellationToken: CancellationToken): Task_1<TResult>;
|
|
262
|
+
ContinueWith<TResult>(continuationFunction: Func_3<Task, JsValue | null, TResult>, state: JsValue | null, scheduler: TaskScheduler): Task_1<TResult>;
|
|
263
|
+
ContinueWith<TResult>(continuationFunction: Func_3<Task, JsValue | null, TResult>, state: JsValue | null, continuationOptions: TaskContinuationOptions): Task_1<TResult>;
|
|
264
|
+
ContinueWith<TResult>(continuationFunction: Func_3<Task, JsValue | null, TResult>, state: JsValue | null, cancellationToken: CancellationToken, continuationOptions: TaskContinuationOptions, scheduler: TaskScheduler): Task_1<TResult>;
|
|
264
265
|
Dispose(): void;
|
|
265
266
|
Dispose(disposing: boolean): void;
|
|
266
267
|
GetAwaiter(): TaskAwaiter;
|
|
@@ -287,10 +288,10 @@ export const Task: {
|
|
|
287
288
|
new(action: Action, cancellationToken: CancellationToken): Task;
|
|
288
289
|
new(action: Action, creationOptions: TaskCreationOptions): Task;
|
|
289
290
|
new(action: Action, cancellationToken: CancellationToken, creationOptions: TaskCreationOptions): Task;
|
|
290
|
-
new(action: Action_1<
|
|
291
|
-
new(action: Action_1<
|
|
292
|
-
new(action: Action_1<
|
|
293
|
-
new(action: Action_1<
|
|
291
|
+
new(action: Action_1<JsValue | null>, state: JsValue | null): Task;
|
|
292
|
+
new(action: Action_1<JsValue | null>, state: JsValue | null, cancellationToken: CancellationToken): Task;
|
|
293
|
+
new(action: Action_1<JsValue | null>, state: JsValue | null, creationOptions: TaskCreationOptions): Task;
|
|
294
|
+
new(action: Action_1<JsValue | null>, state: JsValue | null, cancellationToken: CancellationToken, creationOptions: TaskCreationOptions): Task;
|
|
294
295
|
readonly CurrentId: Nullable_1<System_Internal.Int32>;
|
|
295
296
|
readonly Factory: TaskFactory;
|
|
296
297
|
readonly CompletedTask: Task;
|
|
@@ -309,8 +310,8 @@ export const Task: {
|
|
|
309
310
|
Run<TResult>(function_: Func_1<TResult>): Task_1<TResult>;
|
|
310
311
|
Run(action: Action, cancellationToken: CancellationToken): Task;
|
|
311
312
|
Run(action: Action): Task;
|
|
312
|
-
Run(function_: Func_1<Task>, cancellationToken: CancellationToken): Task;
|
|
313
|
-
Run(function_: Func_1<Task>): Task;
|
|
313
|
+
Run(function_: Func_1<Task | null>, cancellationToken: CancellationToken): Task;
|
|
314
|
+
Run(function_: Func_1<Task | null>): Task;
|
|
314
315
|
WaitAll(tasks: IEnumerable_1<Task>, cancellationToken?: CancellationToken): void;
|
|
315
316
|
WaitAll(tasks: ReadOnlySpan_1<Task>): void;
|
|
316
317
|
WaitAll(tasks: Task[], millisecondsTimeout: int, cancellationToken: CancellationToken): boolean;
|
|
@@ -353,8 +354,8 @@ export interface __Task$views {
|
|
|
353
354
|
}
|
|
354
355
|
|
|
355
356
|
export type Task = Task$instance & __Task$views & {
|
|
356
|
-
then<TResult1 = void, TResult2 = never>(onfulfilled?: ((value: void) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason:
|
|
357
|
-
then<TResult1 =
|
|
357
|
+
then<TResult1 = void, TResult2 = never>(onfulfilled?: ((value: void) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: JsValue) => TResult2 | PromiseLike<TResult2>) | undefined | null): PromiseLike<TResult1 | TResult2>;
|
|
358
|
+
then<TResult1 = JsValue, TResult2 = never>(onfulfilled?: ((value: JsValue) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: JsValue) => TResult2 | PromiseLike<TResult2>) | undefined | null): PromiseLike<TResult1 | TResult2>;
|
|
358
359
|
};
|
|
359
360
|
|
|
360
361
|
|
|
@@ -374,41 +375,41 @@ export interface Task_1$instance<TResult> extends Task$instance, System_Internal
|
|
|
374
375
|
ContinueWith(continuationAction: Action_1<Task_1<TResult>>, scheduler: TaskScheduler): Task;
|
|
375
376
|
ContinueWith(continuationAction: Action_1<Task_1<TResult>>, continuationOptions: TaskContinuationOptions): Task;
|
|
376
377
|
ContinueWith(continuationAction: Action_1<Task_1<TResult>>, cancellationToken: CancellationToken, continuationOptions: TaskContinuationOptions, scheduler: TaskScheduler): Task;
|
|
377
|
-
ContinueWith(continuationAction: Action_2<Task_1<TResult>,
|
|
378
|
-
ContinueWith(continuationAction: Action_2<Task_1<TResult>,
|
|
379
|
-
ContinueWith(continuationAction: Action_2<Task_1<TResult>,
|
|
380
|
-
ContinueWith(continuationAction: Action_2<Task_1<TResult>,
|
|
381
|
-
ContinueWith(continuationAction: Action_2<Task_1<TResult>,
|
|
378
|
+
ContinueWith(continuationAction: Action_2<Task_1<TResult>, JsValue | null>, state: JsValue | null): Task;
|
|
379
|
+
ContinueWith(continuationAction: Action_2<Task_1<TResult>, JsValue | null>, state: JsValue | null, cancellationToken: CancellationToken): Task;
|
|
380
|
+
ContinueWith(continuationAction: Action_2<Task_1<TResult>, JsValue | null>, state: JsValue | null, scheduler: TaskScheduler): Task;
|
|
381
|
+
ContinueWith(continuationAction: Action_2<Task_1<TResult>, JsValue | null>, state: JsValue | null, continuationOptions: TaskContinuationOptions): Task;
|
|
382
|
+
ContinueWith(continuationAction: Action_2<Task_1<TResult>, JsValue | null>, state: JsValue | null, cancellationToken: CancellationToken, continuationOptions: TaskContinuationOptions, scheduler: TaskScheduler): Task;
|
|
382
383
|
ContinueWith<TNewResult>(continuationFunction: Func_2<Task_1<TResult>, TNewResult>): Task_1<TNewResult>;
|
|
383
384
|
ContinueWith<TNewResult>(continuationFunction: Func_2<Task_1<TResult>, TNewResult>, cancellationToken: CancellationToken): Task_1<TNewResult>;
|
|
384
385
|
ContinueWith<TNewResult>(continuationFunction: Func_2<Task_1<TResult>, TNewResult>, scheduler: TaskScheduler): Task_1<TNewResult>;
|
|
385
386
|
ContinueWith<TNewResult>(continuationFunction: Func_2<Task_1<TResult>, TNewResult>, continuationOptions: TaskContinuationOptions): Task_1<TNewResult>;
|
|
386
387
|
ContinueWith<TNewResult>(continuationFunction: Func_2<Task_1<TResult>, TNewResult>, cancellationToken: CancellationToken, continuationOptions: TaskContinuationOptions, scheduler: TaskScheduler): Task_1<TNewResult>;
|
|
387
|
-
ContinueWith<TNewResult>(continuationFunction: Func_3<Task_1<TResult>,
|
|
388
|
-
ContinueWith<TNewResult>(continuationFunction: Func_3<Task_1<TResult>,
|
|
389
|
-
ContinueWith<TNewResult>(continuationFunction: Func_3<Task_1<TResult>,
|
|
390
|
-
ContinueWith<TNewResult>(continuationFunction: Func_3<Task_1<TResult>,
|
|
391
|
-
ContinueWith<TNewResult>(continuationFunction: Func_3<Task_1<TResult>,
|
|
388
|
+
ContinueWith<TNewResult>(continuationFunction: Func_3<Task_1<TResult>, JsValue | null, TNewResult>, state: JsValue | null): Task_1<TNewResult>;
|
|
389
|
+
ContinueWith<TNewResult>(continuationFunction: Func_3<Task_1<TResult>, JsValue | null, TNewResult>, state: JsValue | null, cancellationToken: CancellationToken): Task_1<TNewResult>;
|
|
390
|
+
ContinueWith<TNewResult>(continuationFunction: Func_3<Task_1<TResult>, JsValue | null, TNewResult>, state: JsValue | null, scheduler: TaskScheduler): Task_1<TNewResult>;
|
|
391
|
+
ContinueWith<TNewResult>(continuationFunction: Func_3<Task_1<TResult>, JsValue | null, TNewResult>, state: JsValue | null, continuationOptions: TaskContinuationOptions): Task_1<TNewResult>;
|
|
392
|
+
ContinueWith<TNewResult>(continuationFunction: Func_3<Task_1<TResult>, JsValue | null, TNewResult>, state: JsValue | null, cancellationToken: CancellationToken, continuationOptions: TaskContinuationOptions, scheduler: TaskScheduler): Task_1<TNewResult>;
|
|
392
393
|
ContinueWith(continuationAction: Action_1<Task>): Task;
|
|
393
394
|
ContinueWith(continuationAction: Action_1<Task>, cancellationToken: CancellationToken): Task;
|
|
394
395
|
ContinueWith(continuationAction: Action_1<Task>, scheduler: TaskScheduler): Task;
|
|
395
396
|
ContinueWith(continuationAction: Action_1<Task>, continuationOptions: TaskContinuationOptions): Task;
|
|
396
397
|
ContinueWith(continuationAction: Action_1<Task>, cancellationToken: CancellationToken, continuationOptions: TaskContinuationOptions, scheduler: TaskScheduler): Task;
|
|
397
|
-
ContinueWith(continuationAction: Action_2<Task,
|
|
398
|
-
ContinueWith(continuationAction: Action_2<Task,
|
|
399
|
-
ContinueWith(continuationAction: Action_2<Task,
|
|
400
|
-
ContinueWith(continuationAction: Action_2<Task,
|
|
401
|
-
ContinueWith(continuationAction: Action_2<Task,
|
|
398
|
+
ContinueWith(continuationAction: Action_2<Task, JsValue | null>, state: JsValue | null): Task;
|
|
399
|
+
ContinueWith(continuationAction: Action_2<Task, JsValue | null>, state: JsValue | null, cancellationToken: CancellationToken): Task;
|
|
400
|
+
ContinueWith(continuationAction: Action_2<Task, JsValue | null>, state: JsValue | null, scheduler: TaskScheduler): Task;
|
|
401
|
+
ContinueWith(continuationAction: Action_2<Task, JsValue | null>, state: JsValue | null, continuationOptions: TaskContinuationOptions): Task;
|
|
402
|
+
ContinueWith(continuationAction: Action_2<Task, JsValue | null>, state: JsValue | null, cancellationToken: CancellationToken, continuationOptions: TaskContinuationOptions, scheduler: TaskScheduler): Task;
|
|
402
403
|
ContinueWith<TResult>(continuationFunction: Func_2<Task, TResult>): Task_1<TResult>;
|
|
403
404
|
ContinueWith<TResult>(continuationFunction: Func_2<Task, TResult>, cancellationToken: CancellationToken): Task_1<TResult>;
|
|
404
405
|
ContinueWith<TResult>(continuationFunction: Func_2<Task, TResult>, scheduler: TaskScheduler): Task_1<TResult>;
|
|
405
406
|
ContinueWith<TResult>(continuationFunction: Func_2<Task, TResult>, continuationOptions: TaskContinuationOptions): Task_1<TResult>;
|
|
406
407
|
ContinueWith<TResult>(continuationFunction: Func_2<Task, TResult>, cancellationToken: CancellationToken, continuationOptions: TaskContinuationOptions, scheduler: TaskScheduler): Task_1<TResult>;
|
|
407
|
-
ContinueWith<TResult>(continuationFunction: Func_3<Task,
|
|
408
|
-
ContinueWith<TResult>(continuationFunction: Func_3<Task,
|
|
409
|
-
ContinueWith<TResult>(continuationFunction: Func_3<Task,
|
|
410
|
-
ContinueWith<TResult>(continuationFunction: Func_3<Task,
|
|
411
|
-
ContinueWith<TResult>(continuationFunction: Func_3<Task,
|
|
408
|
+
ContinueWith<TResult>(continuationFunction: Func_3<Task, JsValue | null, TResult>, state: JsValue | null): Task_1<TResult>;
|
|
409
|
+
ContinueWith<TResult>(continuationFunction: Func_3<Task, JsValue | null, TResult>, state: JsValue | null, cancellationToken: CancellationToken): Task_1<TResult>;
|
|
410
|
+
ContinueWith<TResult>(continuationFunction: Func_3<Task, JsValue | null, TResult>, state: JsValue | null, scheduler: TaskScheduler): Task_1<TResult>;
|
|
411
|
+
ContinueWith<TResult>(continuationFunction: Func_3<Task, JsValue | null, TResult>, state: JsValue | null, continuationOptions: TaskContinuationOptions): Task_1<TResult>;
|
|
412
|
+
ContinueWith<TResult>(continuationFunction: Func_3<Task, JsValue | null, TResult>, state: JsValue | null, cancellationToken: CancellationToken, continuationOptions: TaskContinuationOptions, scheduler: TaskScheduler): Task_1<TResult>;
|
|
412
413
|
GetAwaiter(): TaskAwaiter_1<TResult>;
|
|
413
414
|
GetAwaiter(): TaskAwaiter;
|
|
414
415
|
WaitAsync(cancellationToken: CancellationToken): Task_1<TResult>;
|
|
@@ -427,10 +428,10 @@ export const Task_1: {
|
|
|
427
428
|
new<TResult>(function_: Func_1<TResult>, cancellationToken: CancellationToken): Task_1<TResult>;
|
|
428
429
|
new<TResult>(function_: Func_1<TResult>, creationOptions: TaskCreationOptions): Task_1<TResult>;
|
|
429
430
|
new<TResult>(function_: Func_1<TResult>, cancellationToken: CancellationToken, creationOptions: TaskCreationOptions): Task_1<TResult>;
|
|
430
|
-
new<TResult>(function_: Func_2<
|
|
431
|
-
new<TResult>(function_: Func_2<
|
|
432
|
-
new<TResult>(function_: Func_2<
|
|
433
|
-
new<TResult>(function_: Func_2<
|
|
431
|
+
new<TResult>(function_: Func_2<JsValue | null, TResult>, state: JsValue | null): Task_1<TResult>;
|
|
432
|
+
new<TResult>(function_: Func_2<JsValue | null, TResult>, state: JsValue | null, cancellationToken: CancellationToken): Task_1<TResult>;
|
|
433
|
+
new<TResult>(function_: Func_2<JsValue | null, TResult>, state: JsValue | null, creationOptions: TaskCreationOptions): Task_1<TResult>;
|
|
434
|
+
new<TResult>(function_: Func_2<JsValue | null, TResult>, state: JsValue | null, cancellationToken: CancellationToken, creationOptions: TaskCreationOptions): Task_1<TResult>;
|
|
434
435
|
};
|
|
435
436
|
|
|
436
437
|
|
|
@@ -440,9 +441,9 @@ export interface __Task_1$views<TResult> {
|
|
|
440
441
|
}
|
|
441
442
|
|
|
442
443
|
export type Task_1<TResult> = Task_1$instance<TResult> & __Task_1$views<TResult> & {
|
|
443
|
-
then<TResult1 = TResult, TResult2 = never>(onfulfilled?: ((value: TResult) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason:
|
|
444
|
-
then<TResult1 =
|
|
445
|
-
then<TResult1 =
|
|
444
|
+
then<TResult1 = TResult, TResult2 = never>(onfulfilled?: ((value: TResult) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: JsValue) => TResult2 | PromiseLike<TResult2>) | undefined | null): PromiseLike<TResult1 | TResult2>;
|
|
445
|
+
then<TResult1 = JsValue, TResult2 = never>(onfulfilled?: ((value: JsValue) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: JsValue) => TResult2 | PromiseLike<TResult2>) | undefined | null): PromiseLike<TResult1 | TResult2>;
|
|
446
|
+
then<TResult1 = TResult, TResult2 = never>(onfulfilled?: ((value: TResult | void) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: JsValue) => TResult2 | PromiseLike<TResult2>) | undefined | null): PromiseLike<TResult1 | TResult2>;
|
|
446
447
|
};
|
|
447
448
|
|
|
448
449
|
|
|
@@ -451,16 +452,16 @@ export interface TaskCanceledException$instance extends OperationCanceledExcepti
|
|
|
451
452
|
|
|
452
453
|
readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
|
|
453
454
|
|
|
454
|
-
readonly Task: Task |
|
|
455
|
+
readonly Task: Task | null;
|
|
455
456
|
}
|
|
456
457
|
|
|
457
458
|
|
|
458
459
|
export const TaskCanceledException: {
|
|
459
460
|
new(): TaskCanceledException;
|
|
460
|
-
new(message: string): TaskCanceledException;
|
|
461
|
-
new(message: string, innerException: Exception): TaskCanceledException;
|
|
462
|
-
new(message: string, innerException: Exception, token: CancellationToken): TaskCanceledException;
|
|
463
|
-
new(task: Task): TaskCanceledException;
|
|
461
|
+
new(message: string | null): TaskCanceledException;
|
|
462
|
+
new(message: string | null, innerException: Exception | null): TaskCanceledException;
|
|
463
|
+
new(message: string | null, innerException: Exception | null, token: CancellationToken): TaskCanceledException;
|
|
464
|
+
new(task: Task | null): TaskCanceledException;
|
|
464
465
|
};
|
|
465
466
|
|
|
466
467
|
|
|
@@ -493,8 +494,8 @@ export interface TaskCompletionSource$instance {
|
|
|
493
494
|
export const TaskCompletionSource: {
|
|
494
495
|
new(): TaskCompletionSource;
|
|
495
496
|
new(creationOptions: TaskCreationOptions): TaskCompletionSource;
|
|
496
|
-
new(state:
|
|
497
|
-
new(state:
|
|
497
|
+
new(state: JsValue | null): TaskCompletionSource;
|
|
498
|
+
new(state: JsValue | null, creationOptions: TaskCreationOptions): TaskCompletionSource;
|
|
498
499
|
};
|
|
499
500
|
|
|
500
501
|
|
|
@@ -522,8 +523,8 @@ export interface TaskCompletionSource_1$instance<TResult> {
|
|
|
522
523
|
export const TaskCompletionSource_1: {
|
|
523
524
|
new<TResult>(): TaskCompletionSource_1<TResult>;
|
|
524
525
|
new<TResult>(creationOptions: TaskCreationOptions): TaskCompletionSource_1<TResult>;
|
|
525
|
-
new<TResult>(state:
|
|
526
|
-
new<TResult>(state:
|
|
526
|
+
new<TResult>(state: JsValue | null): TaskCompletionSource_1<TResult>;
|
|
527
|
+
new<TResult>(state: JsValue | null, creationOptions: TaskCreationOptions): TaskCompletionSource_1<TResult>;
|
|
527
528
|
};
|
|
528
529
|
|
|
529
530
|
|
|
@@ -535,7 +536,7 @@ export interface TaskFactory$instance {
|
|
|
535
536
|
readonly CancellationToken: CancellationToken;
|
|
536
537
|
readonly ContinuationOptions: TaskContinuationOptions;
|
|
537
538
|
readonly CreationOptions: TaskCreationOptions;
|
|
538
|
-
readonly Scheduler: TaskScheduler |
|
|
539
|
+
readonly Scheduler: TaskScheduler | null;
|
|
539
540
|
ContinueWhenAll(tasks: Task[], continuationAction: Action_1<Task[]>): Task;
|
|
540
541
|
ContinueWhenAll(tasks: Task[], continuationAction: Action_1<Task[]>, cancellationToken: CancellationToken): Task;
|
|
541
542
|
ContinueWhenAll(tasks: Task[], continuationAction: Action_1<Task[]>, continuationOptions: TaskContinuationOptions): Task;
|
|
@@ -571,50 +572,50 @@ export interface TaskFactory$instance {
|
|
|
571
572
|
FromAsync(asyncResult: IAsyncResult, endMethod: Action_1<IAsyncResult>): Task;
|
|
572
573
|
FromAsync(asyncResult: IAsyncResult, endMethod: Action_1<IAsyncResult>, creationOptions: TaskCreationOptions): Task;
|
|
573
574
|
FromAsync(asyncResult: IAsyncResult, endMethod: Action_1<IAsyncResult>, creationOptions: TaskCreationOptions, scheduler: TaskScheduler): Task;
|
|
574
|
-
FromAsync(beginMethod: Func_3<AsyncCallback,
|
|
575
|
-
FromAsync(beginMethod: Func_3<AsyncCallback,
|
|
576
|
-
FromAsync<TArg1>(beginMethod: Func_4<TArg1, AsyncCallback,
|
|
577
|
-
FromAsync<TArg1>(beginMethod: Func_4<TArg1, AsyncCallback,
|
|
578
|
-
FromAsync<TArg1, TArg2>(beginMethod: Func_5<TArg1, TArg2, AsyncCallback,
|
|
579
|
-
FromAsync<TArg1, TArg2>(beginMethod: Func_5<TArg1, TArg2, AsyncCallback,
|
|
580
|
-
FromAsync<TArg1, TArg2, TArg3>(beginMethod: Func_6<TArg1, TArg2, TArg3, AsyncCallback,
|
|
581
|
-
FromAsync<TArg1, TArg2, TArg3>(beginMethod: Func_6<TArg1, TArg2, TArg3, AsyncCallback,
|
|
575
|
+
FromAsync(beginMethod: Func_3<AsyncCallback, JsValue | null, IAsyncResult>, endMethod: Action_1<IAsyncResult>, state: JsValue | null): Task;
|
|
576
|
+
FromAsync(beginMethod: Func_3<AsyncCallback, JsValue | null, IAsyncResult>, endMethod: Action_1<IAsyncResult>, state: JsValue | null, creationOptions: TaskCreationOptions): Task;
|
|
577
|
+
FromAsync<TArg1>(beginMethod: Func_4<TArg1, AsyncCallback, JsValue | null, IAsyncResult>, endMethod: Action_1<IAsyncResult>, arg1: TArg1, state: JsValue | null): Task;
|
|
578
|
+
FromAsync<TArg1>(beginMethod: Func_4<TArg1, AsyncCallback, JsValue | null, IAsyncResult>, endMethod: Action_1<IAsyncResult>, arg1: TArg1, state: JsValue | null, creationOptions: TaskCreationOptions): Task;
|
|
579
|
+
FromAsync<TArg1, TArg2>(beginMethod: Func_5<TArg1, TArg2, AsyncCallback, JsValue | null, IAsyncResult>, endMethod: Action_1<IAsyncResult>, arg1: TArg1, arg2: TArg2, state: JsValue | null): Task;
|
|
580
|
+
FromAsync<TArg1, TArg2>(beginMethod: Func_5<TArg1, TArg2, AsyncCallback, JsValue | null, IAsyncResult>, endMethod: Action_1<IAsyncResult>, arg1: TArg1, arg2: TArg2, state: JsValue | null, creationOptions: TaskCreationOptions): Task;
|
|
581
|
+
FromAsync<TArg1, TArg2, TArg3>(beginMethod: Func_6<TArg1, TArg2, TArg3, AsyncCallback, JsValue | null, IAsyncResult>, endMethod: Action_1<IAsyncResult>, arg1: TArg1, arg2: TArg2, arg3: TArg3, state: JsValue | null): Task;
|
|
582
|
+
FromAsync<TArg1, TArg2, TArg3>(beginMethod: Func_6<TArg1, TArg2, TArg3, AsyncCallback, JsValue | null, IAsyncResult>, endMethod: Action_1<IAsyncResult>, arg1: TArg1, arg2: TArg2, arg3: TArg3, state: JsValue | null, creationOptions: TaskCreationOptions): Task;
|
|
582
583
|
FromAsync<TResult>(asyncResult: IAsyncResult, endMethod: Func_2<IAsyncResult, TResult>): Task_1<TResult>;
|
|
583
584
|
FromAsync<TResult>(asyncResult: IAsyncResult, endMethod: Func_2<IAsyncResult, TResult>, creationOptions: TaskCreationOptions): Task_1<TResult>;
|
|
584
585
|
FromAsync<TResult>(asyncResult: IAsyncResult, endMethod: Func_2<IAsyncResult, TResult>, creationOptions: TaskCreationOptions, scheduler: TaskScheduler): Task_1<TResult>;
|
|
585
|
-
FromAsync<TResult>(beginMethod: Func_3<AsyncCallback,
|
|
586
|
-
FromAsync<TResult>(beginMethod: Func_3<AsyncCallback,
|
|
587
|
-
FromAsync<TArg1, TResult>(beginMethod: Func_4<TArg1, AsyncCallback,
|
|
588
|
-
FromAsync<TArg1, TResult>(beginMethod: Func_4<TArg1, AsyncCallback,
|
|
589
|
-
FromAsync<TArg1, TArg2, TResult>(beginMethod: Func_5<TArg1, TArg2, AsyncCallback,
|
|
590
|
-
FromAsync<TArg1, TArg2, TResult>(beginMethod: Func_5<TArg1, TArg2, AsyncCallback,
|
|
591
|
-
FromAsync<TArg1, TArg2, TArg3, TResult>(beginMethod: Func_6<TArg1, TArg2, TArg3, AsyncCallback,
|
|
592
|
-
FromAsync<TArg1, TArg2, TArg3, TResult>(beginMethod: Func_6<TArg1, TArg2, TArg3, AsyncCallback,
|
|
586
|
+
FromAsync<TResult>(beginMethod: Func_3<AsyncCallback, JsValue | null, IAsyncResult>, endMethod: Func_2<IAsyncResult, TResult>, state: JsValue | null): Task_1<TResult>;
|
|
587
|
+
FromAsync<TResult>(beginMethod: Func_3<AsyncCallback, JsValue | null, IAsyncResult>, endMethod: Func_2<IAsyncResult, TResult>, state: JsValue | null, creationOptions: TaskCreationOptions): Task_1<TResult>;
|
|
588
|
+
FromAsync<TArg1, TResult>(beginMethod: Func_4<TArg1, AsyncCallback, JsValue | null, IAsyncResult>, endMethod: Func_2<IAsyncResult, TResult>, arg1: TArg1, state: JsValue | null): Task_1<TResult>;
|
|
589
|
+
FromAsync<TArg1, TResult>(beginMethod: Func_4<TArg1, AsyncCallback, JsValue | null, IAsyncResult>, endMethod: Func_2<IAsyncResult, TResult>, arg1: TArg1, state: JsValue | null, creationOptions: TaskCreationOptions): Task_1<TResult>;
|
|
590
|
+
FromAsync<TArg1, TArg2, TResult>(beginMethod: Func_5<TArg1, TArg2, AsyncCallback, JsValue | null, IAsyncResult>, endMethod: Func_2<IAsyncResult, TResult>, arg1: TArg1, arg2: TArg2, state: JsValue | null): Task_1<TResult>;
|
|
591
|
+
FromAsync<TArg1, TArg2, TResult>(beginMethod: Func_5<TArg1, TArg2, AsyncCallback, JsValue | null, IAsyncResult>, endMethod: Func_2<IAsyncResult, TResult>, arg1: TArg1, arg2: TArg2, state: JsValue | null, creationOptions: TaskCreationOptions): Task_1<TResult>;
|
|
592
|
+
FromAsync<TArg1, TArg2, TArg3, TResult>(beginMethod: Func_6<TArg1, TArg2, TArg3, AsyncCallback, JsValue | null, IAsyncResult>, endMethod: Func_2<IAsyncResult, TResult>, arg1: TArg1, arg2: TArg2, arg3: TArg3, state: JsValue | null): Task_1<TResult>;
|
|
593
|
+
FromAsync<TArg1, TArg2, TArg3, TResult>(beginMethod: Func_6<TArg1, TArg2, TArg3, AsyncCallback, JsValue | null, IAsyncResult>, endMethod: Func_2<IAsyncResult, TResult>, arg1: TArg1, arg2: TArg2, arg3: TArg3, state: JsValue | null, creationOptions: TaskCreationOptions): Task_1<TResult>;
|
|
593
594
|
StartNew(action: Action): Task;
|
|
594
595
|
StartNew(action: Action, cancellationToken: CancellationToken): Task;
|
|
595
596
|
StartNew(action: Action, creationOptions: TaskCreationOptions): Task;
|
|
596
597
|
StartNew(action: Action, cancellationToken: CancellationToken, creationOptions: TaskCreationOptions, scheduler: TaskScheduler): Task;
|
|
597
|
-
StartNew(action: Action_1<
|
|
598
|
-
StartNew(action: Action_1<
|
|
599
|
-
StartNew(action: Action_1<
|
|
600
|
-
StartNew(action: Action_1<
|
|
598
|
+
StartNew(action: Action_1<JsValue | null>, state: JsValue | null): Task;
|
|
599
|
+
StartNew(action: Action_1<JsValue | null>, state: JsValue | null, cancellationToken: CancellationToken): Task;
|
|
600
|
+
StartNew(action: Action_1<JsValue | null>, state: JsValue | null, creationOptions: TaskCreationOptions): Task;
|
|
601
|
+
StartNew(action: Action_1<JsValue | null>, state: JsValue | null, cancellationToken: CancellationToken, creationOptions: TaskCreationOptions, scheduler: TaskScheduler): Task;
|
|
601
602
|
StartNew<TResult>(function_: Func_1<TResult>): Task_1<TResult>;
|
|
602
603
|
StartNew<TResult>(function_: Func_1<TResult>, cancellationToken: CancellationToken): Task_1<TResult>;
|
|
603
604
|
StartNew<TResult>(function_: Func_1<TResult>, creationOptions: TaskCreationOptions): Task_1<TResult>;
|
|
604
605
|
StartNew<TResult>(function_: Func_1<TResult>, cancellationToken: CancellationToken, creationOptions: TaskCreationOptions, scheduler: TaskScheduler): Task_1<TResult>;
|
|
605
|
-
StartNew<TResult>(function_: Func_2<
|
|
606
|
-
StartNew<TResult>(function_: Func_2<
|
|
607
|
-
StartNew<TResult>(function_: Func_2<
|
|
608
|
-
StartNew<TResult>(function_: Func_2<
|
|
606
|
+
StartNew<TResult>(function_: Func_2<JsValue | null, TResult>, state: JsValue | null): Task_1<TResult>;
|
|
607
|
+
StartNew<TResult>(function_: Func_2<JsValue | null, TResult>, state: JsValue | null, cancellationToken: CancellationToken): Task_1<TResult>;
|
|
608
|
+
StartNew<TResult>(function_: Func_2<JsValue | null, TResult>, state: JsValue | null, creationOptions: TaskCreationOptions): Task_1<TResult>;
|
|
609
|
+
StartNew<TResult>(function_: Func_2<JsValue | null, TResult>, state: JsValue | null, cancellationToken: CancellationToken, creationOptions: TaskCreationOptions, scheduler: TaskScheduler): Task_1<TResult>;
|
|
609
610
|
}
|
|
610
611
|
|
|
611
612
|
|
|
612
613
|
export const TaskFactory: {
|
|
613
614
|
new(): TaskFactory;
|
|
614
615
|
new(cancellationToken: CancellationToken): TaskFactory;
|
|
615
|
-
new(scheduler: TaskScheduler): TaskFactory;
|
|
616
|
+
new(scheduler: TaskScheduler | null): TaskFactory;
|
|
616
617
|
new(creationOptions: TaskCreationOptions, continuationOptions: TaskContinuationOptions): TaskFactory;
|
|
617
|
-
new(cancellationToken: CancellationToken, creationOptions: TaskCreationOptions, continuationOptions: TaskContinuationOptions, scheduler: TaskScheduler): TaskFactory;
|
|
618
|
+
new(cancellationToken: CancellationToken, creationOptions: TaskCreationOptions, continuationOptions: TaskContinuationOptions, scheduler: TaskScheduler | null): TaskFactory;
|
|
618
619
|
};
|
|
619
620
|
|
|
620
621
|
|
|
@@ -626,7 +627,7 @@ export interface TaskFactory_1$instance<TResult> {
|
|
|
626
627
|
readonly CancellationToken: CancellationToken;
|
|
627
628
|
readonly ContinuationOptions: TaskContinuationOptions;
|
|
628
629
|
readonly CreationOptions: TaskCreationOptions;
|
|
629
|
-
readonly Scheduler: TaskScheduler |
|
|
630
|
+
readonly Scheduler: TaskScheduler | null;
|
|
630
631
|
ContinueWhenAll(tasks: Task[], continuationFunction: Func_2<Task[], TResult>): Task_1<TResult>;
|
|
631
632
|
ContinueWhenAll(tasks: Task[], continuationFunction: Func_2<Task[], TResult>, cancellationToken: CancellationToken): Task_1<TResult>;
|
|
632
633
|
ContinueWhenAll(tasks: Task[], continuationFunction: Func_2<Task[], TResult>, continuationOptions: TaskContinuationOptions): Task_1<TResult>;
|
|
@@ -646,31 +647,31 @@ export interface TaskFactory_1$instance<TResult> {
|
|
|
646
647
|
FromAsync(asyncResult: IAsyncResult, endMethod: Func_2<IAsyncResult, TResult>): Task_1<TResult>;
|
|
647
648
|
FromAsync(asyncResult: IAsyncResult, endMethod: Func_2<IAsyncResult, TResult>, creationOptions: TaskCreationOptions): Task_1<TResult>;
|
|
648
649
|
FromAsync(asyncResult: IAsyncResult, endMethod: Func_2<IAsyncResult, TResult>, creationOptions: TaskCreationOptions, scheduler: TaskScheduler): Task_1<TResult>;
|
|
649
|
-
FromAsync(beginMethod: Func_3<AsyncCallback,
|
|
650
|
-
FromAsync(beginMethod: Func_3<AsyncCallback,
|
|
651
|
-
FromAsync<TArg1>(beginMethod: Func_4<TArg1, AsyncCallback,
|
|
652
|
-
FromAsync<TArg1>(beginMethod: Func_4<TArg1, AsyncCallback,
|
|
653
|
-
FromAsync<TArg1, TArg2>(beginMethod: Func_5<TArg1, TArg2, AsyncCallback,
|
|
654
|
-
FromAsync<TArg1, TArg2>(beginMethod: Func_5<TArg1, TArg2, AsyncCallback,
|
|
655
|
-
FromAsync<TArg1, TArg2, TArg3>(beginMethod: Func_6<TArg1, TArg2, TArg3, AsyncCallback,
|
|
656
|
-
FromAsync<TArg1, TArg2, TArg3>(beginMethod: Func_6<TArg1, TArg2, TArg3, AsyncCallback,
|
|
650
|
+
FromAsync(beginMethod: Func_3<AsyncCallback, JsValue | null, IAsyncResult>, endMethod: Func_2<IAsyncResult, TResult>, state: JsValue | null): Task_1<TResult>;
|
|
651
|
+
FromAsync(beginMethod: Func_3<AsyncCallback, JsValue | null, IAsyncResult>, endMethod: Func_2<IAsyncResult, TResult>, state: JsValue | null, creationOptions: TaskCreationOptions): Task_1<TResult>;
|
|
652
|
+
FromAsync<TArg1>(beginMethod: Func_4<TArg1, AsyncCallback, JsValue | null, IAsyncResult>, endMethod: Func_2<IAsyncResult, TResult>, arg1: TArg1, state: JsValue | null): Task_1<TResult>;
|
|
653
|
+
FromAsync<TArg1>(beginMethod: Func_4<TArg1, AsyncCallback, JsValue | null, IAsyncResult>, endMethod: Func_2<IAsyncResult, TResult>, arg1: TArg1, state: JsValue | null, creationOptions: TaskCreationOptions): Task_1<TResult>;
|
|
654
|
+
FromAsync<TArg1, TArg2>(beginMethod: Func_5<TArg1, TArg2, AsyncCallback, JsValue | null, IAsyncResult>, endMethod: Func_2<IAsyncResult, TResult>, arg1: TArg1, arg2: TArg2, state: JsValue | null): Task_1<TResult>;
|
|
655
|
+
FromAsync<TArg1, TArg2>(beginMethod: Func_5<TArg1, TArg2, AsyncCallback, JsValue | null, IAsyncResult>, endMethod: Func_2<IAsyncResult, TResult>, arg1: TArg1, arg2: TArg2, state: JsValue | null, creationOptions: TaskCreationOptions): Task_1<TResult>;
|
|
656
|
+
FromAsync<TArg1, TArg2, TArg3>(beginMethod: Func_6<TArg1, TArg2, TArg3, AsyncCallback, JsValue | null, IAsyncResult>, endMethod: Func_2<IAsyncResult, TResult>, arg1: TArg1, arg2: TArg2, arg3: TArg3, state: JsValue | null): Task_1<TResult>;
|
|
657
|
+
FromAsync<TArg1, TArg2, TArg3>(beginMethod: Func_6<TArg1, TArg2, TArg3, AsyncCallback, JsValue | null, IAsyncResult>, endMethod: Func_2<IAsyncResult, TResult>, arg1: TArg1, arg2: TArg2, arg3: TArg3, state: JsValue | null, creationOptions: TaskCreationOptions): Task_1<TResult>;
|
|
657
658
|
StartNew(function_: Func_1<TResult>): Task_1<TResult>;
|
|
658
659
|
StartNew(function_: Func_1<TResult>, cancellationToken: CancellationToken): Task_1<TResult>;
|
|
659
660
|
StartNew(function_: Func_1<TResult>, creationOptions: TaskCreationOptions): Task_1<TResult>;
|
|
660
661
|
StartNew(function_: Func_1<TResult>, cancellationToken: CancellationToken, creationOptions: TaskCreationOptions, scheduler: TaskScheduler): Task_1<TResult>;
|
|
661
|
-
StartNew(function_: Func_2<
|
|
662
|
-
StartNew(function_: Func_2<
|
|
663
|
-
StartNew(function_: Func_2<
|
|
664
|
-
StartNew(function_: Func_2<
|
|
662
|
+
StartNew(function_: Func_2<JsValue | null, TResult>, state: JsValue | null): Task_1<TResult>;
|
|
663
|
+
StartNew(function_: Func_2<JsValue | null, TResult>, state: JsValue | null, cancellationToken: CancellationToken): Task_1<TResult>;
|
|
664
|
+
StartNew(function_: Func_2<JsValue | null, TResult>, state: JsValue | null, creationOptions: TaskCreationOptions): Task_1<TResult>;
|
|
665
|
+
StartNew(function_: Func_2<JsValue | null, TResult>, state: JsValue | null, cancellationToken: CancellationToken, creationOptions: TaskCreationOptions, scheduler: TaskScheduler): Task_1<TResult>;
|
|
665
666
|
}
|
|
666
667
|
|
|
667
668
|
|
|
668
669
|
export const TaskFactory_1: {
|
|
669
670
|
new<TResult>(): TaskFactory_1<TResult>;
|
|
670
671
|
new<TResult>(cancellationToken: CancellationToken): TaskFactory_1<TResult>;
|
|
671
|
-
new<TResult>(scheduler: TaskScheduler): TaskFactory_1<TResult>;
|
|
672
|
+
new<TResult>(scheduler: TaskScheduler | null): TaskFactory_1<TResult>;
|
|
672
673
|
new<TResult>(creationOptions: TaskCreationOptions, continuationOptions: TaskContinuationOptions): TaskFactory_1<TResult>;
|
|
673
|
-
new<TResult>(cancellationToken: CancellationToken, creationOptions: TaskCreationOptions, continuationOptions: TaskContinuationOptions, scheduler: TaskScheduler): TaskFactory_1<TResult>;
|
|
674
|
+
new<TResult>(cancellationToken: CancellationToken, creationOptions: TaskCreationOptions, continuationOptions: TaskContinuationOptions, scheduler: TaskScheduler | null): TaskFactory_1<TResult>;
|
|
674
675
|
};
|
|
675
676
|
|
|
676
677
|
|
|
@@ -681,7 +682,7 @@ export interface TaskScheduler$instance {
|
|
|
681
682
|
|
|
682
683
|
readonly Id: int;
|
|
683
684
|
readonly MaximumConcurrencyLevel: int;
|
|
684
|
-
GetScheduledTasks(): IEnumerable_1<Task> |
|
|
685
|
+
GetScheduledTasks(): IEnumerable_1<Task> | null;
|
|
685
686
|
QueueTask(task: Task): void;
|
|
686
687
|
TryDequeue(task: Task): boolean;
|
|
687
688
|
TryExecuteTaskInline(task: Task, taskWasPreviouslyQueued: boolean): boolean;
|
|
@@ -707,9 +708,9 @@ export interface TaskSchedulerException$instance extends Exception, System_Runti
|
|
|
707
708
|
|
|
708
709
|
export const TaskSchedulerException: {
|
|
709
710
|
new(): TaskSchedulerException;
|
|
710
|
-
new(message: string): TaskSchedulerException;
|
|
711
|
-
new(innerException: Exception): TaskSchedulerException;
|
|
712
|
-
new(message: string, innerException: Exception): TaskSchedulerException;
|
|
711
|
+
new(message: string | null): TaskSchedulerException;
|
|
712
|
+
new(innerException: Exception | null): TaskSchedulerException;
|
|
713
|
+
new(message: string | null, innerException: Exception | null): TaskSchedulerException;
|
|
713
714
|
};
|
|
714
715
|
|
|
715
716
|
|
|
@@ -804,7 +805,7 @@ export abstract class TaskExtensions$instance {
|
|
|
804
805
|
export type TaskExtensions = TaskExtensions$instance;
|
|
805
806
|
|
|
806
807
|
export abstract class TaskToAsyncResult$instance {
|
|
807
|
-
static Begin(task: Task, callback: AsyncCallback, state:
|
|
808
|
+
static Begin(task: Task, callback: AsyncCallback | null, state: JsValue | null): IAsyncResult;
|
|
808
809
|
static End(asyncResult: IAsyncResult): void;
|
|
809
810
|
static End<TResult>(asyncResult: IAsyncResult): TResult;
|
|
810
811
|
static Unwrap(asyncResult: IAsyncResult): Task;
|