@tsonic/dotnet 10.0.40 → 10.0.42
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/bindings.json +5 -5
- package/Internal/internal/index.d.ts +4 -3
- package/Internal.d.ts +4 -0
- package/Microsoft.CSharp.RuntimeBinder/internal/index.d.ts +19 -18
- package/Microsoft.CSharp.RuntimeBinder.d.ts +4 -0
- package/Microsoft.VisualBasic/bindings.json +13 -13
- package/Microsoft.VisualBasic/internal/index.d.ts +5 -7
- package/Microsoft.VisualBasic.CompilerServices/internal/index.d.ts +3 -5
- package/Microsoft.VisualBasic.CompilerServices.d.ts +4 -0
- package/Microsoft.VisualBasic.FileIO/internal/index.d.ts +4 -3
- package/Microsoft.VisualBasic.FileIO.d.ts +4 -0
- package/Microsoft.VisualBasic.d.ts +4 -0
- package/Microsoft.Win32/internal/index.d.ts +19 -18
- package/Microsoft.Win32.SafeHandles/internal/index.d.ts +3 -2
- package/Microsoft.Win32.SafeHandles.d.ts +4 -0
- package/Microsoft.Win32.d.ts +4 -0
- package/README.md +83 -104
- package/System/bindings.json +1858 -2297
- package/System/internal/index.d.ts +1972 -2010
- package/System.Buffers/bindings.json +12 -3
- package/System.Buffers/internal/index.d.ts +56 -58
- package/System.Buffers.Binary/internal/index.d.ts +2 -4
- package/System.Buffers.Binary.d.ts +4 -0
- package/System.Buffers.Text/internal/index.d.ts +2 -4
- package/System.Buffers.Text.d.ts +4 -0
- package/System.Buffers.d.ts +10 -6
- package/System.CodeDom.Compiler/internal/index.d.ts +31 -30
- package/System.CodeDom.Compiler.d.ts +4 -0
- package/System.Collections/bindings.json +300 -300
- package/System.Collections/internal/index.d.ts +90 -92
- package/System.Collections.Concurrent/bindings.json +311 -311
- package/System.Collections.Concurrent/internal/index.d.ts +83 -85
- package/System.Collections.Concurrent.d.ts +7 -3
- package/System.Collections.Frozen/bindings.json +490 -648
- package/System.Collections.Frozen/internal/index.d.ts +95 -109
- package/System.Collections.Frozen.d.ts +18 -2
- package/System.Collections.Generic/bindings.json +9628 -14043
- package/System.Collections.Generic/internal/index.d.ts +632 -827
- package/System.Collections.Generic.d.ts +20 -16
- package/System.Collections.Immutable/bindings.json +6134 -9214
- package/System.Collections.Immutable/internal/index.d.ts +414 -502
- package/System.Collections.Immutable.d.ts +58 -17
- package/System.Collections.ObjectModel/bindings.json +328 -850
- package/System.Collections.ObjectModel/internal/index.d.ts +42 -62
- package/System.Collections.ObjectModel.d.ts +6 -2
- package/System.Collections.Specialized/bindings.json +79 -202
- package/System.Collections.Specialized/internal/index.d.ts +72 -85
- package/System.Collections.Specialized.d.ts +4 -0
- package/System.Collections.d.ts +4 -0
- package/System.ComponentModel/bindings.json +271 -210
- package/System.ComponentModel/internal/index.d.ts +562 -547
- package/System.ComponentModel.DataAnnotations/internal/index.d.ts +126 -125
- package/System.ComponentModel.DataAnnotations.Schema/internal/index.d.ts +8 -7
- package/System.ComponentModel.DataAnnotations.Schema.d.ts +4 -0
- package/System.ComponentModel.DataAnnotations.d.ts +4 -0
- package/System.ComponentModel.Design/bindings.json +40 -310
- package/System.ComponentModel.Design/internal/index.d.ts +85 -93
- package/System.ComponentModel.Design.Serialization/internal/index.d.ts +42 -41
- package/System.ComponentModel.Design.Serialization.d.ts +4 -0
- package/System.ComponentModel.Design.d.ts +4 -0
- package/System.ComponentModel.d.ts +5 -0
- package/System.Configuration.Assemblies/internal/index.d.ts +3 -2
- package/System.Configuration.Assemblies.d.ts +4 -0
- package/System.Data/bindings.json +128 -125
- package/System.Data/internal/index.d.ts +341 -340
- package/System.Data.Common/bindings.json +68 -68
- package/System.Data.Common/internal/index.d.ts +135 -136
- package/System.Data.Common.d.ts +4 -0
- package/System.Data.SqlTypes/internal/index.d.ts +55 -54
- package/System.Data.SqlTypes.d.ts +4 -0
- package/System.Data.d.ts +8 -4
- package/System.Diagnostics/bindings.json +6324 -6509
- package/System.Diagnostics/internal/index.d.ts +435 -437
- package/System.Diagnostics.CodeAnalysis/bindings.json +121 -121
- package/System.Diagnostics.CodeAnalysis/internal/index.d.ts +44 -43
- package/System.Diagnostics.CodeAnalysis.d.ts +4 -0
- package/System.Diagnostics.Contracts/bindings.json +62 -62
- package/System.Diagnostics.Contracts/internal/index.d.ts +23 -25
- package/System.Diagnostics.Contracts.d.ts +4 -0
- package/System.Diagnostics.Metrics/internal/index.d.ts +82 -84
- package/System.Diagnostics.Metrics.d.ts +7 -3
- package/System.Diagnostics.SymbolStore/bindings.json +2 -2
- package/System.Diagnostics.SymbolStore/internal/index.d.ts +11 -10
- package/System.Diagnostics.SymbolStore.d.ts +4 -0
- package/System.Diagnostics.Tracing/bindings.json +291 -231
- package/System.Diagnostics.Tracing/internal/index.d.ts +69 -56
- package/System.Diagnostics.Tracing.d.ts +6 -1
- package/System.Diagnostics.d.ts +5 -1
- package/System.Drawing/internal/index.d.ts +76 -75
- package/System.Drawing.d.ts +4 -0
- package/System.Dynamic/bindings.json +13 -13
- package/System.Dynamic/internal/index.d.ts +35 -36
- package/System.Dynamic.d.ts +4 -0
- package/System.Formats.Asn1/bindings.json +48 -69
- package/System.Formats.Asn1/internal/index.d.ts +30 -37
- package/System.Formats.Asn1.d.ts +4 -0
- package/System.Formats.Tar/internal/index.d.ts +8 -7
- package/System.Formats.Tar.d.ts +4 -0
- package/System.Globalization/bindings.json +3 -3
- package/System.Globalization/internal/index.d.ts +35 -37
- package/System.Globalization.d.ts +4 -0
- package/System.IO/bindings.json +957 -957
- package/System.IO/internal/index.d.ts +183 -185
- package/System.IO.Compression/internal/index.d.ts +33 -35
- package/System.IO.Compression.d.ts +4 -0
- package/System.IO.Enumeration/bindings.json +402 -402
- package/System.IO.Enumeration/internal/index.d.ts +21 -23
- package/System.IO.Enumeration.d.ts +4 -0
- package/System.IO.IsolatedStorage/internal/index.d.ts +16 -15
- package/System.IO.IsolatedStorage.d.ts +4 -0
- package/System.IO.MemoryMappedFiles/internal/index.d.ts +11 -10
- package/System.IO.MemoryMappedFiles.d.ts +4 -0
- package/System.IO.Pipelines/internal/index.d.ts +15 -17
- package/System.IO.Pipelines.d.ts +4 -0
- package/System.IO.Pipes/internal/index.d.ts +8 -7
- package/System.IO.Pipes.d.ts +4 -0
- package/System.IO.d.ts +4 -0
- package/System.Linq/bindings.json +22 -22
- package/System.Linq/internal/index.d.ts +705 -705
- package/System.Linq.Expressions/internal/index.d.ts +219 -195
- package/System.Linq.Expressions.Interpreter/internal/index.d.ts +5 -4
- package/System.Linq.Expressions.Interpreter.d.ts +4 -0
- package/System.Linq.Expressions.d.ts +6 -2
- package/System.Linq.d.ts +18 -14
- package/System.Net/bindings.json +131 -131
- package/System.Net/internal/index.d.ts +276 -278
- package/System.Net.Cache/internal/index.d.ts +3 -2
- package/System.Net.Cache.d.ts +4 -0
- package/System.Net.Http/bindings.json +22 -22
- package/System.Net.Http/internal/index.d.ts +128 -130
- package/System.Net.Http.Headers/bindings.json +36 -200
- package/System.Net.Http.Headers/internal/index.d.ts +114 -128
- package/System.Net.Http.Headers.d.ts +4 -0
- package/System.Net.Http.Json/internal/index.d.ts +67 -69
- package/System.Net.Http.Json.d.ts +4 -0
- package/System.Net.Http.Metrics/internal/index.d.ts +6 -5
- package/System.Net.Http.Metrics.d.ts +4 -0
- package/System.Net.Http.d.ts +5 -1
- package/System.Net.Mail/bindings.json +96 -96
- package/System.Net.Mail/internal/index.d.ts +78 -80
- package/System.Net.Mail.d.ts +4 -0
- package/System.Net.Mime/internal/index.d.ts +11 -10
- package/System.Net.Mime.d.ts +4 -0
- package/System.Net.NetworkInformation/bindings.json +40 -40
- package/System.Net.NetworkInformation/internal/index.d.ts +30 -32
- package/System.Net.NetworkInformation.d.ts +4 -0
- package/System.Net.Quic/internal/index.d.ts +11 -10
- package/System.Net.Quic.d.ts +4 -0
- package/System.Net.Security/internal/index.d.ts +90 -92
- package/System.Net.Security.d.ts +4 -0
- package/System.Net.ServerSentEvents/internal/index.d.ts +13 -12
- package/System.Net.ServerSentEvents.d.ts +7 -3
- package/System.Net.Sockets/internal/index.d.ts +91 -93
- package/System.Net.Sockets.d.ts +4 -0
- package/System.Net.WebSockets/bindings.json +101 -101
- package/System.Net.WebSockets/internal/index.d.ts +49 -48
- package/System.Net.WebSockets.d.ts +4 -0
- package/System.Net.d.ts +4 -0
- package/System.Numerics/bindings.json +547 -119
- package/System.Numerics/internal/index.d.ts +302 -304
- package/System.Numerics.d.ts +38 -34
- package/System.Reflection/bindings.json +870 -870
- package/System.Reflection/internal/index.d.ts +257 -259
- package/System.Reflection.Emit/bindings.json +754 -754
- package/System.Reflection.Emit/internal/index.d.ts +114 -114
- package/System.Reflection.Emit.d.ts +4 -0
- package/System.Reflection.Metadata/bindings.json +535 -3018
- package/System.Reflection.Metadata/internal/index.d.ts +188 -369
- package/System.Reflection.Metadata.Ecma335/internal/index.d.ts +16 -18
- package/System.Reflection.Metadata.Ecma335.d.ts +4 -0
- package/System.Reflection.Metadata.d.ts +9 -5
- package/System.Reflection.PortableExecutable/bindings.json +58 -0
- package/System.Reflection.PortableExecutable/internal/index.d.ts +25 -12
- package/System.Reflection.PortableExecutable.d.ts +5 -0
- package/System.Reflection.d.ts +4 -0
- package/System.Resources/bindings.json +3 -3
- package/System.Resources/internal/index.d.ts +33 -35
- package/System.Resources.d.ts +4 -0
- package/System.Runtime/bindings.json +9 -9
- package/System.Runtime/internal/index.d.ts +11 -10
- package/System.Runtime.CompilerServices/bindings.json +962 -1160
- package/System.Runtime.CompilerServices/internal/index.d.ts +280 -304
- package/System.Runtime.CompilerServices.d.ts +30 -16
- package/System.Runtime.ConstrainedExecution/bindings.json +9 -9
- package/System.Runtime.ConstrainedExecution/internal/index.d.ts +3 -2
- package/System.Runtime.ConstrainedExecution.d.ts +4 -0
- package/System.Runtime.ExceptionServices/bindings.json +9 -9
- package/System.Runtime.ExceptionServices/internal/index.d.ts +3 -2
- package/System.Runtime.ExceptionServices.d.ts +4 -0
- package/System.Runtime.InteropServices/bindings.json +666 -666
- package/System.Runtime.InteropServices/internal/index.d.ts +250 -252
- package/System.Runtime.InteropServices.ComTypes/bindings.json +349 -349
- package/System.Runtime.InteropServices.ComTypes/internal/index.d.ts +22 -24
- package/System.Runtime.InteropServices.ComTypes.d.ts +4 -0
- package/System.Runtime.InteropServices.Java/bindings.json +12 -12
- package/System.Runtime.InteropServices.Java/internal/index.d.ts +3 -5
- package/System.Runtime.InteropServices.Java.d.ts +4 -0
- package/System.Runtime.InteropServices.JavaScript/bindings.json +328 -328
- package/System.Runtime.InteropServices.JavaScript/internal/index.d.ts +70 -72
- package/System.Runtime.InteropServices.JavaScript.d.ts +14 -28
- package/System.Runtime.InteropServices.Marshalling/bindings.json +2422 -2422
- package/System.Runtime.InteropServices.Marshalling/internal/index.d.ts +317 -319
- package/System.Runtime.InteropServices.Marshalling.d.ts +4 -0
- package/System.Runtime.InteropServices.ObjectiveC/bindings.json +151 -151
- package/System.Runtime.InteropServices.ObjectiveC/internal/index.d.ts +16 -18
- package/System.Runtime.InteropServices.ObjectiveC.d.ts +4 -0
- package/System.Runtime.InteropServices.Swift/bindings.json +4 -4
- package/System.Runtime.InteropServices.Swift/internal/index.d.ts +5 -7
- package/System.Runtime.InteropServices.Swift.d.ts +6 -2
- package/System.Runtime.InteropServices.d.ts +6 -2
- package/System.Runtime.Intrinsics/bindings.json +64 -16
- package/System.Runtime.Intrinsics/internal/index.d.ts +515 -517
- package/System.Runtime.Intrinsics.Arm/bindings.json +31 -31
- package/System.Runtime.Intrinsics.Arm/internal/index.d.ts +12 -13
- package/System.Runtime.Intrinsics.Arm.d.ts +4 -0
- package/System.Runtime.Intrinsics.Wasm/internal/index.d.ts +2 -4
- package/System.Runtime.Intrinsics.Wasm.d.ts +4 -0
- package/System.Runtime.Intrinsics.X86/bindings.json +38 -38
- package/System.Runtime.Intrinsics.X86/internal/index.d.ts +42 -41
- package/System.Runtime.Intrinsics.X86.d.ts +4 -0
- package/System.Runtime.Intrinsics.d.ts +12 -8
- package/System.Runtime.Loader/bindings.json +48 -69
- package/System.Runtime.Loader/internal/index.d.ts +30 -34
- package/System.Runtime.Loader.d.ts +4 -0
- package/System.Runtime.Remoting/internal/index.d.ts +5 -4
- package/System.Runtime.Remoting.d.ts +4 -0
- package/System.Runtime.Serialization/bindings.json +13 -13
- package/System.Runtime.Serialization/internal/index.d.ts +124 -126
- package/System.Runtime.Serialization.DataContracts/internal/index.d.ts +28 -30
- package/System.Runtime.Serialization.DataContracts.d.ts +4 -0
- package/System.Runtime.Serialization.Formatters/internal/index.d.ts +7 -6
- package/System.Runtime.Serialization.Formatters.Binary/internal/index.d.ts +8 -7
- package/System.Runtime.Serialization.Formatters.Binary.d.ts +4 -0
- package/System.Runtime.Serialization.Formatters.d.ts +4 -0
- package/System.Runtime.Serialization.Json/internal/index.d.ts +37 -36
- package/System.Runtime.Serialization.Json.d.ts +4 -0
- package/System.Runtime.Serialization.d.ts +4 -0
- package/System.Runtime.Versioning/bindings.json +13 -13
- package/System.Runtime.Versioning/internal/index.d.ts +20 -19
- package/System.Runtime.Versioning.d.ts +4 -0
- package/System.Runtime.d.ts +4 -0
- package/System.Security/bindings.json +5 -5
- package/System.Security/internal/index.d.ts +64 -66
- package/System.Security.AccessControl/bindings.json +137 -33
- package/System.Security.AccessControl/internal/index.d.ts +62 -61
- package/System.Security.AccessControl.d.ts +13 -8
- package/System.Security.Authentication/internal/index.d.ts +7 -6
- package/System.Security.Authentication.ExtendedProtection/bindings.json +5 -5
- package/System.Security.Authentication.ExtendedProtection/internal/index.d.ts +12 -11
- package/System.Security.Authentication.ExtendedProtection.d.ts +4 -0
- package/System.Security.Authentication.d.ts +4 -0
- package/System.Security.Claims/internal/index.d.ts +45 -44
- package/System.Security.Claims.d.ts +4 -0
- package/System.Security.Cryptography/bindings.json +509 -509
- package/System.Security.Cryptography/internal/index.d.ts +268 -269
- package/System.Security.Cryptography.X509Certificates/bindings.json +312 -374
- package/System.Security.Cryptography.X509Certificates/internal/index.d.ts +96 -103
- package/System.Security.Cryptography.X509Certificates.d.ts +4 -0
- package/System.Security.Cryptography.d.ts +4 -0
- package/System.Security.Permissions/internal/index.d.ts +5 -4
- package/System.Security.Permissions.d.ts +4 -0
- package/System.Security.Policy/bindings.json +5 -5
- package/System.Security.Policy/internal/index.d.ts +9 -8
- package/System.Security.Policy.d.ts +4 -0
- package/System.Security.Principal/bindings.json +8 -8
- package/System.Security.Principal/internal/index.d.ts +30 -29
- package/System.Security.Principal.d.ts +4 -0
- package/System.Security.d.ts +4 -0
- package/System.Text/bindings.json +1577 -1577
- package/System.Text/internal/index.d.ts +121 -123
- package/System.Text.Encodings.Web/internal/index.d.ts +2 -4
- package/System.Text.Encodings.Web.d.ts +4 -0
- package/System.Text.Json/bindings.json +0 -290
- package/System.Text.Json/internal/index.d.ts +143 -161
- package/System.Text.Json.Nodes/bindings.json +27 -27
- package/System.Text.Json.Nodes/internal/index.d.ts +63 -65
- package/System.Text.Json.Nodes.d.ts +4 -0
- package/System.Text.Json.Schema/internal/index.d.ts +9 -8
- package/System.Text.Json.Schema.d.ts +4 -0
- package/System.Text.Json.Serialization/internal/index.d.ts +37 -39
- package/System.Text.Json.Serialization.Metadata/internal/index.d.ts +120 -119
- package/System.Text.Json.Serialization.Metadata.d.ts +6 -2
- package/System.Text.Json.Serialization.d.ts +10 -6
- package/System.Text.Json.d.ts +4 -0
- package/System.Text.RegularExpressions/bindings.json +414 -578
- package/System.Text.RegularExpressions/internal/index.d.ts +48 -62
- package/System.Text.RegularExpressions.d.ts +4 -0
- package/System.Text.Unicode/bindings.json +508 -508
- package/System.Text.Unicode/internal/index.d.ts +29 -31
- package/System.Text.Unicode.d.ts +4 -0
- package/System.Text.d.ts +4 -0
- package/System.Threading/bindings.json +61 -61
- package/System.Threading/internal/index.d.ts +156 -158
- package/System.Threading.Channels/internal/index.d.ts +31 -33
- package/System.Threading.Channels.d.ts +8 -4
- package/System.Threading.Tasks/bindings.json +142 -39
- package/System.Threading.Tasks/internal/index.d.ts +250 -247
- package/System.Threading.Tasks.Dataflow/internal/index.d.ts +121 -122
- package/System.Threading.Tasks.Dataflow.d.ts +18 -14
- package/System.Threading.Tasks.Sources/bindings.json +9 -9
- package/System.Threading.Tasks.Sources/internal/index.d.ts +11 -10
- package/System.Threading.Tasks.Sources.d.ts +6 -2
- package/System.Threading.Tasks.d.ts +12 -8
- package/System.Threading.d.ts +4 -0
- package/System.Timers/internal/index.d.ts +8 -7
- package/System.Timers.d.ts +4 -0
- package/System.Transactions/internal/index.d.ts +31 -30
- package/System.Transactions.d.ts +4 -0
- package/System.Web/internal/index.d.ts +32 -31
- package/System.Web.d.ts +4 -0
- package/System.Windows.Input/internal/index.d.ts +5 -4
- package/System.Windows.Input.d.ts +4 -0
- package/System.Windows.Markup/internal/index.d.ts +3 -2
- package/System.Windows.Markup.d.ts +4 -0
- package/System.Xml/bindings.json +27 -27
- package/System.Xml/internal/index.d.ts +376 -378
- package/System.Xml.Linq/bindings.json +6 -6
- package/System.Xml.Linq/internal/index.d.ts +101 -100
- package/System.Xml.Linq.d.ts +4 -0
- package/System.Xml.Resolvers/internal/index.d.ts +10 -9
- package/System.Xml.Resolvers.d.ts +4 -0
- package/System.Xml.Schema/bindings.json +100 -100
- package/System.Xml.Schema/internal/index.d.ts +231 -230
- package/System.Xml.Schema.d.ts +4 -0
- package/System.Xml.Serialization/bindings.json +250 -57
- package/System.Xml.Serialization/internal/index.d.ts +274 -242
- package/System.Xml.Serialization.d.ts +6 -0
- package/System.Xml.XPath/bindings.json +1 -1
- package/System.Xml.XPath/internal/index.d.ts +37 -36
- package/System.Xml.XPath.d.ts +4 -0
- package/System.Xml.Xsl/bindings.json +1 -1
- package/System.Xml.Xsl/internal/index.d.ts +50 -49
- package/System.Xml.Xsl.Runtime/bindings.json +74 -71
- package/System.Xml.Xsl.Runtime/internal/index.d.ts +38 -40
- package/System.Xml.Xsl.Runtime.d.ts +4 -0
- package/System.Xml.Xsl.d.ts +4 -0
- package/System.Xml.d.ts +4 -0
- package/System.d.ts +126 -122
- package/__internal/extensions/index.d.ts +1335 -1338
- package/families.json +63 -7
- package/package.json +2 -2
|
@@ -2,11 +2,9 @@
|
|
|
2
2
|
// Namespace: System.Threading.Tasks.Dataflow
|
|
3
3
|
// Assembly: System.Threading.Tasks.Dataflow
|
|
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 { 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 * as System_Collections_Generic_Internal from "../../System.Collections.Generic/internal/index.js";
|
|
@@ -36,47 +34,48 @@ export interface IDataflowBlock$instance {
|
|
|
36
34
|
|
|
37
35
|
export type IDataflowBlock = IDataflowBlock$instance;
|
|
38
36
|
|
|
39
|
-
export interface IPropagatorBlock_2$instance<TInput, TOutput> extends ITargetBlock_1<TInput>, IDataflowBlock, ISourceBlock_1<TOutput> {
|
|
37
|
+
export interface IPropagatorBlock_2$instance<TInput extends unknown, TOutput extends unknown> extends ITargetBlock_1<TInput>, IDataflowBlock, ISourceBlock_1<TOutput> {
|
|
40
38
|
readonly __tsonic_iface_System_Threading_Tasks_Dataflow_IPropagatorBlock_2: never;
|
|
41
39
|
|
|
42
40
|
readonly Completion: Task;
|
|
43
41
|
Complete(): void;
|
|
44
|
-
ConsumeMessage(messageHeader: DataflowMessageHeader, target: ITargetBlock_1<TOutput>, messageConsumed: boolean): TOutput |
|
|
42
|
+
ConsumeMessage(messageHeader: DataflowMessageHeader, target: ITargetBlock_1<TOutput>, messageConsumed: boolean): TOutput | null;
|
|
45
43
|
ConsumeMessage(messageHeader: DataflowMessageHeader, target: ITargetBlock_1<TOutput>, messageConsumed: boolean): TOutput;
|
|
46
44
|
Fault(exception: Exception): void;
|
|
47
45
|
LinkTo(target: ITargetBlock_1<TOutput>, linkOptions: DataflowLinkOptions): IDisposable;
|
|
48
46
|
OfferMessage(messageHeader: DataflowMessageHeader, messageValue: TInput, source: ISourceBlock_1<TInput>, consumeToAccept: boolean): DataflowMessageStatus;
|
|
47
|
+
OfferMessage(messageHeader: DataflowMessageHeader, messageValue: TInput, source: ISourceBlock_1<TInput> | null, consumeToAccept: boolean): DataflowMessageStatus;
|
|
49
48
|
ReleaseReservation(messageHeader: DataflowMessageHeader, target: ITargetBlock_1<TOutput>): void;
|
|
50
49
|
ReserveMessage(messageHeader: DataflowMessageHeader, target: ITargetBlock_1<TOutput>): boolean;
|
|
51
50
|
}
|
|
52
51
|
|
|
53
52
|
|
|
54
|
-
export type IPropagatorBlock_2<TInput, TOutput> = IPropagatorBlock_2$instance<TInput, TOutput>;
|
|
53
|
+
export type IPropagatorBlock_2<TInput extends unknown, TOutput extends unknown> = IPropagatorBlock_2$instance<TInput, TOutput>;
|
|
55
54
|
|
|
56
|
-
export interface IReceivableSourceBlock_1$instance<TOutput> extends ISourceBlock_1<TOutput>, IDataflowBlock {
|
|
55
|
+
export interface IReceivableSourceBlock_1$instance<TOutput extends unknown> extends ISourceBlock_1<TOutput>, IDataflowBlock {
|
|
57
56
|
readonly __tsonic_iface_System_Threading_Tasks_Dataflow_IReceivableSourceBlock_1: never;
|
|
58
57
|
|
|
59
58
|
readonly Completion: Task;
|
|
60
59
|
Complete(): void;
|
|
61
|
-
ConsumeMessage(messageHeader: DataflowMessageHeader, target: ITargetBlock_1<TOutput>, messageConsumed: boolean): TOutput |
|
|
60
|
+
ConsumeMessage(messageHeader: DataflowMessageHeader, target: ITargetBlock_1<TOutput>, messageConsumed: boolean): TOutput | null;
|
|
62
61
|
ConsumeMessage(messageHeader: DataflowMessageHeader, target: ITargetBlock_1<TOutput>, messageConsumed: boolean): TOutput;
|
|
63
62
|
Fault(exception: Exception): void;
|
|
64
63
|
LinkTo(target: ITargetBlock_1<TOutput>, linkOptions: DataflowLinkOptions): IDisposable;
|
|
65
64
|
ReleaseReservation(messageHeader: DataflowMessageHeader, target: ITargetBlock_1<TOutput>): void;
|
|
66
65
|
ReserveMessage(messageHeader: DataflowMessageHeader, target: ITargetBlock_1<TOutput>): boolean;
|
|
67
|
-
TryReceive(filter: Predicate_1<TOutput
|
|
68
|
-
TryReceiveAll(items: IList_1<TOutput>): boolean;
|
|
66
|
+
TryReceive(filter: Predicate_1<TOutput> | null, item: TOutput): boolean;
|
|
67
|
+
TryReceiveAll(items: IList_1<TOutput> | null): boolean;
|
|
69
68
|
}
|
|
70
69
|
|
|
71
70
|
|
|
72
|
-
export type IReceivableSourceBlock_1<TOutput> = IReceivableSourceBlock_1$instance<TOutput>;
|
|
71
|
+
export type IReceivableSourceBlock_1<TOutput extends unknown> = IReceivableSourceBlock_1$instance<TOutput>;
|
|
73
72
|
|
|
74
|
-
export interface ISourceBlock_1$instance<TOutput> extends IDataflowBlock {
|
|
73
|
+
export interface ISourceBlock_1$instance<TOutput extends unknown> extends IDataflowBlock {
|
|
75
74
|
readonly __tsonic_iface_System_Threading_Tasks_Dataflow_ISourceBlock_1: never;
|
|
76
75
|
|
|
77
76
|
readonly Completion: Task;
|
|
78
77
|
Complete(): void;
|
|
79
|
-
ConsumeMessage(messageHeader: DataflowMessageHeader, target: ITargetBlock_1<TOutput>, messageConsumed: boolean): TOutput |
|
|
78
|
+
ConsumeMessage(messageHeader: DataflowMessageHeader, target: ITargetBlock_1<TOutput>, messageConsumed: boolean): TOutput | null;
|
|
80
79
|
Fault(exception: Exception): void;
|
|
81
80
|
LinkTo(target: ITargetBlock_1<TOutput>, linkOptions: DataflowLinkOptions): IDisposable;
|
|
82
81
|
ReleaseReservation(messageHeader: DataflowMessageHeader, target: ITargetBlock_1<TOutput>): void;
|
|
@@ -84,23 +83,23 @@ export interface ISourceBlock_1$instance<TOutput> extends IDataflowBlock {
|
|
|
84
83
|
}
|
|
85
84
|
|
|
86
85
|
|
|
87
|
-
export interface ISourceBlock_1$instance<TOutput> extends IDataflowBlock$instance {}
|
|
86
|
+
export interface ISourceBlock_1$instance<TOutput extends unknown> extends IDataflowBlock$instance {}
|
|
88
87
|
|
|
89
|
-
export type ISourceBlock_1<TOutput> = ISourceBlock_1$instance<TOutput>;
|
|
88
|
+
export type ISourceBlock_1<TOutput extends unknown> = ISourceBlock_1$instance<TOutput>;
|
|
90
89
|
|
|
91
|
-
export interface ITargetBlock_1$instance<TInput> extends IDataflowBlock {
|
|
90
|
+
export interface ITargetBlock_1$instance<TInput extends unknown> extends IDataflowBlock {
|
|
92
91
|
readonly __tsonic_iface_System_Threading_Tasks_Dataflow_ITargetBlock_1: never;
|
|
93
92
|
|
|
94
93
|
readonly Completion: Task;
|
|
95
94
|
Complete(): void;
|
|
96
95
|
Fault(exception: Exception): void;
|
|
97
|
-
OfferMessage(messageHeader: DataflowMessageHeader, messageValue: TInput, source: ISourceBlock_1<TInput
|
|
96
|
+
OfferMessage(messageHeader: DataflowMessageHeader, messageValue: TInput, source: ISourceBlock_1<TInput> | null, consumeToAccept: boolean): DataflowMessageStatus;
|
|
98
97
|
}
|
|
99
98
|
|
|
100
99
|
|
|
101
|
-
export interface ITargetBlock_1$instance<TInput> extends IDataflowBlock$instance {}
|
|
100
|
+
export interface ITargetBlock_1$instance<TInput extends unknown> extends IDataflowBlock$instance {}
|
|
102
101
|
|
|
103
|
-
export type ITargetBlock_1<TInput> = ITargetBlock_1$instance<TInput>;
|
|
102
|
+
export type ITargetBlock_1<TInput extends unknown> = ITargetBlock_1$instance<TInput>;
|
|
104
103
|
|
|
105
104
|
export interface DataflowMessageHeader$instance {
|
|
106
105
|
readonly __tsonic_type_System_Threading_Tasks_Dataflow_DataflowMessageHeader: never;
|
|
@@ -110,7 +109,7 @@ export interface DataflowMessageHeader$instance {
|
|
|
110
109
|
readonly Id: long;
|
|
111
110
|
readonly IsValid: boolean;
|
|
112
111
|
Equals(other: DataflowMessageHeader): boolean;
|
|
113
|
-
Equals(obj: unknown): boolean;
|
|
112
|
+
Equals(obj: unknown | null): boolean;
|
|
114
113
|
GetHashCode(): int;
|
|
115
114
|
}
|
|
116
115
|
|
|
@@ -130,7 +129,7 @@ export interface __DataflowMessageHeader$views {
|
|
|
130
129
|
export type DataflowMessageHeader = DataflowMessageHeader$instance & __DataflowMessageHeader$views;
|
|
131
130
|
|
|
132
131
|
|
|
133
|
-
export interface ActionBlock_1$instance<TInput> {
|
|
132
|
+
export interface ActionBlock_1$instance<TInput extends unknown> extends ITargetBlock_1$instance<TInput> {
|
|
134
133
|
readonly __tsonic_type_System_Threading_Tasks_Dataflow_ActionBlock_1: never;
|
|
135
134
|
|
|
136
135
|
readonly __tsonic_iface_System_Threading_Tasks_Dataflow_IDataflowBlock: never;
|
|
@@ -145,22 +144,22 @@ export interface ActionBlock_1$instance<TInput> {
|
|
|
145
144
|
|
|
146
145
|
|
|
147
146
|
export const ActionBlock_1: {
|
|
148
|
-
new<TInput>(action: Action_1<TInput>): ActionBlock_1<TInput>;
|
|
149
|
-
new<TInput>(action: Action_1<TInput>, dataflowBlockOptions: ExecutionDataflowBlockOptions): ActionBlock_1<TInput>;
|
|
150
|
-
new<TInput>(action: Func_2<TInput, Task>): ActionBlock_1<TInput>;
|
|
151
|
-
new<TInput>(action: Func_2<TInput, Task>, dataflowBlockOptions: ExecutionDataflowBlockOptions): ActionBlock_1<TInput>;
|
|
147
|
+
new<TInput extends unknown>(action: Action_1<TInput>): ActionBlock_1<TInput>;
|
|
148
|
+
new<TInput extends unknown>(action: Action_1<TInput>, dataflowBlockOptions: ExecutionDataflowBlockOptions): ActionBlock_1<TInput>;
|
|
149
|
+
new<TInput extends unknown>(action: Func_2<TInput, Task>): ActionBlock_1<TInput>;
|
|
150
|
+
new<TInput extends unknown>(action: Func_2<TInput, Task>, dataflowBlockOptions: ExecutionDataflowBlockOptions): ActionBlock_1<TInput>;
|
|
152
151
|
};
|
|
153
152
|
|
|
154
153
|
|
|
155
|
-
export interface __ActionBlock_1$views<TInput> {
|
|
154
|
+
export interface __ActionBlock_1$views<TInput extends unknown> {
|
|
156
155
|
As_IDataflowBlock(): IDataflowBlock$instance;
|
|
157
156
|
As_ITargetBlock_1(): ITargetBlock_1$instance<TInput>;
|
|
158
157
|
}
|
|
159
158
|
|
|
160
|
-
export type ActionBlock_1<TInput> = ActionBlock_1$instance<TInput> & __ActionBlock_1$views<TInput>;
|
|
159
|
+
export type ActionBlock_1<TInput extends unknown> = ActionBlock_1$instance<TInput> & __ActionBlock_1$views<TInput>;
|
|
161
160
|
|
|
162
161
|
|
|
163
|
-
export interface BatchBlock_1$instance<T> {
|
|
162
|
+
export interface BatchBlock_1$instance<T extends unknown> extends IPropagatorBlock_2$instance<T, T[]> {
|
|
164
163
|
readonly __tsonic_type_System_Threading_Tasks_Dataflow_BatchBlock_1: never;
|
|
165
164
|
|
|
166
165
|
readonly __tsonic_iface_System_Threading_Tasks_Dataflow_IDataflowBlock: never;
|
|
@@ -176,28 +175,28 @@ export interface BatchBlock_1$instance<T> {
|
|
|
176
175
|
LinkTo(target: ITargetBlock_1<T[]>, linkOptions: DataflowLinkOptions): IDisposable;
|
|
177
176
|
ToString(): string;
|
|
178
177
|
TriggerBatch(): void;
|
|
179
|
-
TryReceive(filter: Predicate_1<T[]
|
|
180
|
-
TryReceiveAll(items: IList_1<T[]>): boolean;
|
|
178
|
+
TryReceive(filter: Predicate_1<T[]> | null, item: T[] | null): boolean;
|
|
179
|
+
TryReceiveAll(items: IList_1<T[]> | null): boolean;
|
|
181
180
|
}
|
|
182
181
|
|
|
183
182
|
|
|
184
183
|
export const BatchBlock_1: {
|
|
185
|
-
new<T>(batchSize: int): BatchBlock_1<T>;
|
|
186
|
-
new<T>(batchSize: int, dataflowBlockOptions: GroupingDataflowBlockOptions): BatchBlock_1<T>;
|
|
184
|
+
new<T extends unknown>(batchSize: int): BatchBlock_1<T>;
|
|
185
|
+
new<T extends unknown>(batchSize: int, dataflowBlockOptions: GroupingDataflowBlockOptions): BatchBlock_1<T>;
|
|
187
186
|
};
|
|
188
187
|
|
|
189
188
|
|
|
190
|
-
export interface __BatchBlock_1$views<T> {
|
|
189
|
+
export interface __BatchBlock_1$views<T extends unknown> {
|
|
191
190
|
As_IDataflowBlock(): IDataflowBlock$instance;
|
|
192
191
|
As_IReceivableSourceBlock_1(): IReceivableSourceBlock_1$instance<T[]>;
|
|
193
192
|
As_ISourceBlock_1(): ISourceBlock_1$instance<T[]>;
|
|
194
193
|
As_ITargetBlock_1(): ITargetBlock_1$instance<T>;
|
|
195
194
|
}
|
|
196
195
|
|
|
197
|
-
export type BatchBlock_1<T> = BatchBlock_1$instance<T> & __BatchBlock_1$views<T>;
|
|
196
|
+
export type BatchBlock_1<T extends unknown> = BatchBlock_1$instance<T> & __BatchBlock_1$views<T>;
|
|
198
197
|
|
|
199
198
|
|
|
200
|
-
export interface BatchedJoinBlock_2$instance<T1, T2> {
|
|
199
|
+
export interface BatchedJoinBlock_2$instance<T1 extends unknown, T2 extends unknown> {
|
|
201
200
|
readonly __tsonic_type_System_Threading_Tasks_Dataflow_BatchedJoinBlock_2: never;
|
|
202
201
|
|
|
203
202
|
readonly __tsonic_iface_System_Threading_Tasks_Dataflow_IDataflowBlock: never;
|
|
@@ -212,27 +211,27 @@ export interface BatchedJoinBlock_2$instance<T1, T2> {
|
|
|
212
211
|
Complete(): void;
|
|
213
212
|
LinkTo(target: ITargetBlock_1<Tuple_2<IList_1<T1>, IList_1<T2>>>, linkOptions: DataflowLinkOptions): IDisposable;
|
|
214
213
|
ToString(): string;
|
|
215
|
-
TryReceive(filter: Predicate_1<Tuple_2<IList_1<T1>, IList_1<T2
|
|
216
|
-
TryReceiveAll(items: IList_1<Tuple_2<IList_1<T1>, IList_1<T2>>>): boolean;
|
|
214
|
+
TryReceive(filter: Predicate_1<Tuple_2<IList_1<T1>, IList_1<T2>>> | null, item: Tuple_2<IList_1<T1>, IList_1<T2>> | null): boolean;
|
|
215
|
+
TryReceiveAll(items: IList_1<Tuple_2<IList_1<T1>, IList_1<T2>>> | null): boolean;
|
|
217
216
|
}
|
|
218
217
|
|
|
219
218
|
|
|
220
219
|
export const BatchedJoinBlock_2: {
|
|
221
|
-
new<T1, T2>(batchSize: int): BatchedJoinBlock_2<T1, T2>;
|
|
222
|
-
new<T1, T2>(batchSize: int, dataflowBlockOptions: GroupingDataflowBlockOptions): BatchedJoinBlock_2<T1, T2>;
|
|
220
|
+
new<T1 extends unknown, T2 extends unknown>(batchSize: int): BatchedJoinBlock_2<T1, T2>;
|
|
221
|
+
new<T1 extends unknown, T2 extends unknown>(batchSize: int, dataflowBlockOptions: GroupingDataflowBlockOptions): BatchedJoinBlock_2<T1, T2>;
|
|
223
222
|
};
|
|
224
223
|
|
|
225
224
|
|
|
226
|
-
export interface __BatchedJoinBlock_2$views<T1, T2> {
|
|
225
|
+
export interface __BatchedJoinBlock_2$views<T1 extends unknown, T2 extends unknown> {
|
|
227
226
|
As_IDataflowBlock(): IDataflowBlock$instance;
|
|
228
227
|
As_IReceivableSourceBlock_1(): IReceivableSourceBlock_1$instance<Tuple_2<IList_1<T1>, IList_1<T2>>>;
|
|
229
228
|
As_ISourceBlock_1(): ISourceBlock_1$instance<Tuple_2<IList_1<T1>, IList_1<T2>>>;
|
|
230
229
|
}
|
|
231
230
|
|
|
232
|
-
export type BatchedJoinBlock_2<T1, T2> = BatchedJoinBlock_2$instance<T1, T2> & __BatchedJoinBlock_2$views<T1, T2>;
|
|
231
|
+
export type BatchedJoinBlock_2<T1 extends unknown, T2 extends unknown> = BatchedJoinBlock_2$instance<T1, T2> & __BatchedJoinBlock_2$views<T1, T2>;
|
|
233
232
|
|
|
234
233
|
|
|
235
|
-
export interface BatchedJoinBlock_3$instance<T1, T2, T3> {
|
|
234
|
+
export interface BatchedJoinBlock_3$instance<T1 extends unknown, T2 extends unknown, T3 extends unknown> {
|
|
236
235
|
readonly __tsonic_type_System_Threading_Tasks_Dataflow_BatchedJoinBlock_3: never;
|
|
237
236
|
|
|
238
237
|
readonly __tsonic_iface_System_Threading_Tasks_Dataflow_IDataflowBlock: never;
|
|
@@ -248,27 +247,27 @@ export interface BatchedJoinBlock_3$instance<T1, T2, T3> {
|
|
|
248
247
|
Complete(): void;
|
|
249
248
|
LinkTo(target: ITargetBlock_1<Tuple_3<IList_1<T1>, IList_1<T2>, IList_1<T3>>>, linkOptions: DataflowLinkOptions): IDisposable;
|
|
250
249
|
ToString(): string;
|
|
251
|
-
TryReceive(filter: Predicate_1<Tuple_3<IList_1<T1>, IList_1<T2>, IList_1<T3
|
|
252
|
-
TryReceiveAll(items: IList_1<Tuple_3<IList_1<T1>, IList_1<T2>, IList_1<T3>>>): boolean;
|
|
250
|
+
TryReceive(filter: Predicate_1<Tuple_3<IList_1<T1>, IList_1<T2>, IList_1<T3>>> | null, item: Tuple_3<IList_1<T1>, IList_1<T2>, IList_1<T3>> | null): boolean;
|
|
251
|
+
TryReceiveAll(items: IList_1<Tuple_3<IList_1<T1>, IList_1<T2>, IList_1<T3>>> | null): boolean;
|
|
253
252
|
}
|
|
254
253
|
|
|
255
254
|
|
|
256
255
|
export const BatchedJoinBlock_3: {
|
|
257
|
-
new<T1, T2, T3>(batchSize: int): BatchedJoinBlock_3<T1, T2, T3>;
|
|
258
|
-
new<T1, T2, T3>(batchSize: int, dataflowBlockOptions: GroupingDataflowBlockOptions): BatchedJoinBlock_3<T1, T2, T3>;
|
|
256
|
+
new<T1 extends unknown, T2 extends unknown, T3 extends unknown>(batchSize: int): BatchedJoinBlock_3<T1, T2, T3>;
|
|
257
|
+
new<T1 extends unknown, T2 extends unknown, T3 extends unknown>(batchSize: int, dataflowBlockOptions: GroupingDataflowBlockOptions): BatchedJoinBlock_3<T1, T2, T3>;
|
|
259
258
|
};
|
|
260
259
|
|
|
261
260
|
|
|
262
|
-
export interface __BatchedJoinBlock_3$views<T1, T2, T3> {
|
|
261
|
+
export interface __BatchedJoinBlock_3$views<T1 extends unknown, T2 extends unknown, T3 extends unknown> {
|
|
263
262
|
As_IDataflowBlock(): IDataflowBlock$instance;
|
|
264
263
|
As_IReceivableSourceBlock_1(): IReceivableSourceBlock_1$instance<Tuple_3<IList_1<T1>, IList_1<T2>, IList_1<T3>>>;
|
|
265
264
|
As_ISourceBlock_1(): ISourceBlock_1$instance<Tuple_3<IList_1<T1>, IList_1<T2>, IList_1<T3>>>;
|
|
266
265
|
}
|
|
267
266
|
|
|
268
|
-
export type BatchedJoinBlock_3<T1, T2, T3> = BatchedJoinBlock_3$instance<T1, T2, T3> & __BatchedJoinBlock_3$views<T1, T2, T3>;
|
|
267
|
+
export type BatchedJoinBlock_3<T1 extends unknown, T2 extends unknown, T3 extends unknown> = BatchedJoinBlock_3$instance<T1, T2, T3> & __BatchedJoinBlock_3$views<T1, T2, T3>;
|
|
269
268
|
|
|
270
269
|
|
|
271
|
-
export interface BroadcastBlock_1$instance<T> {
|
|
270
|
+
export interface BroadcastBlock_1$instance<T extends unknown> extends IPropagatorBlock_2$instance<T, T>, IReceivableSourceBlock_1$instance<T> {
|
|
272
271
|
readonly __tsonic_type_System_Threading_Tasks_Dataflow_BroadcastBlock_1: never;
|
|
273
272
|
|
|
274
273
|
readonly __tsonic_iface_System_Threading_Tasks_Dataflow_IDataflowBlock: never;
|
|
@@ -281,27 +280,27 @@ export interface BroadcastBlock_1$instance<T> {
|
|
|
281
280
|
Complete(): void;
|
|
282
281
|
LinkTo(target: ITargetBlock_1<T>, linkOptions: DataflowLinkOptions): IDisposable;
|
|
283
282
|
ToString(): string;
|
|
284
|
-
TryReceive(filter: Predicate_1<T
|
|
283
|
+
TryReceive(filter: Predicate_1<T> | null, item: T): boolean;
|
|
285
284
|
}
|
|
286
285
|
|
|
287
286
|
|
|
288
287
|
export const BroadcastBlock_1: {
|
|
289
|
-
new<T>(cloningFunction: Func_2<T, T>): BroadcastBlock_1<T>;
|
|
290
|
-
new<T>(cloningFunction: Func_2<T, T
|
|
288
|
+
new<T extends unknown>(cloningFunction: Func_2<T, T> | null): BroadcastBlock_1<T>;
|
|
289
|
+
new<T extends unknown>(cloningFunction: Func_2<T, T> | null, dataflowBlockOptions: DataflowBlockOptions): BroadcastBlock_1<T>;
|
|
291
290
|
};
|
|
292
291
|
|
|
293
292
|
|
|
294
|
-
export interface __BroadcastBlock_1$views<T> {
|
|
293
|
+
export interface __BroadcastBlock_1$views<T extends unknown> {
|
|
295
294
|
As_IDataflowBlock(): IDataflowBlock$instance;
|
|
296
295
|
As_IReceivableSourceBlock_1(): IReceivableSourceBlock_1$instance<T>;
|
|
297
296
|
As_ISourceBlock_1(): ISourceBlock_1$instance<T>;
|
|
298
297
|
As_ITargetBlock_1(): ITargetBlock_1$instance<T>;
|
|
299
298
|
}
|
|
300
299
|
|
|
301
|
-
export type BroadcastBlock_1<T> = BroadcastBlock_1$instance<T> & __BroadcastBlock_1$views<T>;
|
|
300
|
+
export type BroadcastBlock_1<T extends unknown> = BroadcastBlock_1$instance<T> & __BroadcastBlock_1$views<T>;
|
|
302
301
|
|
|
303
302
|
|
|
304
|
-
export interface BufferBlock_1$instance<T> {
|
|
303
|
+
export interface BufferBlock_1$instance<T extends unknown> extends IPropagatorBlock_2$instance<T, T>, IReceivableSourceBlock_1$instance<T> {
|
|
305
304
|
readonly __tsonic_type_System_Threading_Tasks_Dataflow_BufferBlock_1: never;
|
|
306
305
|
|
|
307
306
|
readonly __tsonic_iface_System_Threading_Tasks_Dataflow_IDataflowBlock: never;
|
|
@@ -315,25 +314,25 @@ export interface BufferBlock_1$instance<T> {
|
|
|
315
314
|
Complete(): void;
|
|
316
315
|
LinkTo(target: ITargetBlock_1<T>, linkOptions: DataflowLinkOptions): IDisposable;
|
|
317
316
|
ToString(): string;
|
|
318
|
-
TryReceive(filter: Predicate_1<T
|
|
319
|
-
TryReceiveAll(items: IList_1<T>): boolean;
|
|
317
|
+
TryReceive(filter: Predicate_1<T> | null, item: T): boolean;
|
|
318
|
+
TryReceiveAll(items: IList_1<T> | null): boolean;
|
|
320
319
|
}
|
|
321
320
|
|
|
322
321
|
|
|
323
322
|
export const BufferBlock_1: {
|
|
324
|
-
new<T>(): BufferBlock_1<T>;
|
|
325
|
-
new<T>(dataflowBlockOptions: DataflowBlockOptions): BufferBlock_1<T>;
|
|
323
|
+
new<T extends unknown>(): BufferBlock_1<T>;
|
|
324
|
+
new<T extends unknown>(dataflowBlockOptions: DataflowBlockOptions): BufferBlock_1<T>;
|
|
326
325
|
};
|
|
327
326
|
|
|
328
327
|
|
|
329
|
-
export interface __BufferBlock_1$views<T> {
|
|
328
|
+
export interface __BufferBlock_1$views<T extends unknown> {
|
|
330
329
|
As_IDataflowBlock(): IDataflowBlock$instance;
|
|
331
330
|
As_IReceivableSourceBlock_1(): IReceivableSourceBlock_1$instance<T>;
|
|
332
331
|
As_ISourceBlock_1(): ISourceBlock_1$instance<T>;
|
|
333
332
|
As_ITargetBlock_1(): ITargetBlock_1$instance<T>;
|
|
334
333
|
}
|
|
335
334
|
|
|
336
|
-
export type BufferBlock_1<T> = BufferBlock_1$instance<T> & __BufferBlock_1$views<T>;
|
|
335
|
+
export type BufferBlock_1<T extends unknown> = BufferBlock_1$instance<T> & __BufferBlock_1$views<T>;
|
|
337
336
|
|
|
338
337
|
|
|
339
338
|
export interface DataflowBlockOptions$instance {
|
|
@@ -402,7 +401,7 @@ export const GroupingDataflowBlockOptions: {
|
|
|
402
401
|
|
|
403
402
|
export type GroupingDataflowBlockOptions = GroupingDataflowBlockOptions$instance;
|
|
404
403
|
|
|
405
|
-
export interface JoinBlock_2$instance<T1, T2> {
|
|
404
|
+
export interface JoinBlock_2$instance<T1 extends unknown, T2 extends unknown> {
|
|
406
405
|
readonly __tsonic_type_System_Threading_Tasks_Dataflow_JoinBlock_2: never;
|
|
407
406
|
|
|
408
407
|
readonly __tsonic_iface_System_Threading_Tasks_Dataflow_IDataflowBlock: never;
|
|
@@ -416,27 +415,27 @@ export interface JoinBlock_2$instance<T1, T2> {
|
|
|
416
415
|
Complete(): void;
|
|
417
416
|
LinkTo(target: ITargetBlock_1<Tuple_2<T1, T2>>, linkOptions: DataflowLinkOptions): IDisposable;
|
|
418
417
|
ToString(): string;
|
|
419
|
-
TryReceive(filter: Predicate_1<Tuple_2<T1, T2
|
|
420
|
-
TryReceiveAll(items: IList_1<Tuple_2<T1, T2>>): boolean;
|
|
418
|
+
TryReceive(filter: Predicate_1<Tuple_2<T1, T2>> | null, item: Tuple_2<T1, T2> | null): boolean;
|
|
419
|
+
TryReceiveAll(items: IList_1<Tuple_2<T1, T2>> | null): boolean;
|
|
421
420
|
}
|
|
422
421
|
|
|
423
422
|
|
|
424
423
|
export const JoinBlock_2: {
|
|
425
|
-
new<T1, T2>(): JoinBlock_2<T1, T2>;
|
|
426
|
-
new<T1, T2>(dataflowBlockOptions: GroupingDataflowBlockOptions): JoinBlock_2<T1, T2>;
|
|
424
|
+
new<T1 extends unknown, T2 extends unknown>(): JoinBlock_2<T1, T2>;
|
|
425
|
+
new<T1 extends unknown, T2 extends unknown>(dataflowBlockOptions: GroupingDataflowBlockOptions): JoinBlock_2<T1, T2>;
|
|
427
426
|
};
|
|
428
427
|
|
|
429
428
|
|
|
430
|
-
export interface __JoinBlock_2$views<T1, T2> {
|
|
429
|
+
export interface __JoinBlock_2$views<T1 extends unknown, T2 extends unknown> {
|
|
431
430
|
As_IDataflowBlock(): IDataflowBlock$instance;
|
|
432
431
|
As_IReceivableSourceBlock_1(): IReceivableSourceBlock_1$instance<Tuple_2<T1, T2>>;
|
|
433
432
|
As_ISourceBlock_1(): ISourceBlock_1$instance<Tuple_2<T1, T2>>;
|
|
434
433
|
}
|
|
435
434
|
|
|
436
|
-
export type JoinBlock_2<T1, T2> = JoinBlock_2$instance<T1, T2> & __JoinBlock_2$views<T1, T2>;
|
|
435
|
+
export type JoinBlock_2<T1 extends unknown, T2 extends unknown> = JoinBlock_2$instance<T1, T2> & __JoinBlock_2$views<T1, T2>;
|
|
437
436
|
|
|
438
437
|
|
|
439
|
-
export interface JoinBlock_3$instance<T1, T2, T3> {
|
|
438
|
+
export interface JoinBlock_3$instance<T1 extends unknown, T2 extends unknown, T3 extends unknown> {
|
|
440
439
|
readonly __tsonic_type_System_Threading_Tasks_Dataflow_JoinBlock_3: never;
|
|
441
440
|
|
|
442
441
|
readonly __tsonic_iface_System_Threading_Tasks_Dataflow_IDataflowBlock: never;
|
|
@@ -451,27 +450,27 @@ export interface JoinBlock_3$instance<T1, T2, T3> {
|
|
|
451
450
|
Complete(): void;
|
|
452
451
|
LinkTo(target: ITargetBlock_1<Tuple_3<T1, T2, T3>>, linkOptions: DataflowLinkOptions): IDisposable;
|
|
453
452
|
ToString(): string;
|
|
454
|
-
TryReceive(filter: Predicate_1<Tuple_3<T1, T2, T3
|
|
455
|
-
TryReceiveAll(items: IList_1<Tuple_3<T1, T2, T3>>): boolean;
|
|
453
|
+
TryReceive(filter: Predicate_1<Tuple_3<T1, T2, T3>> | null, item: Tuple_3<T1, T2, T3> | null): boolean;
|
|
454
|
+
TryReceiveAll(items: IList_1<Tuple_3<T1, T2, T3>> | null): boolean;
|
|
456
455
|
}
|
|
457
456
|
|
|
458
457
|
|
|
459
458
|
export const JoinBlock_3: {
|
|
460
|
-
new<T1, T2, T3>(): JoinBlock_3<T1, T2, T3>;
|
|
461
|
-
new<T1, T2, T3>(dataflowBlockOptions: GroupingDataflowBlockOptions): JoinBlock_3<T1, T2, T3>;
|
|
459
|
+
new<T1 extends unknown, T2 extends unknown, T3 extends unknown>(): JoinBlock_3<T1, T2, T3>;
|
|
460
|
+
new<T1 extends unknown, T2 extends unknown, T3 extends unknown>(dataflowBlockOptions: GroupingDataflowBlockOptions): JoinBlock_3<T1, T2, T3>;
|
|
462
461
|
};
|
|
463
462
|
|
|
464
463
|
|
|
465
|
-
export interface __JoinBlock_3$views<T1, T2, T3> {
|
|
464
|
+
export interface __JoinBlock_3$views<T1 extends unknown, T2 extends unknown, T3 extends unknown> {
|
|
466
465
|
As_IDataflowBlock(): IDataflowBlock$instance;
|
|
467
466
|
As_IReceivableSourceBlock_1(): IReceivableSourceBlock_1$instance<Tuple_3<T1, T2, T3>>;
|
|
468
467
|
As_ISourceBlock_1(): ISourceBlock_1$instance<Tuple_3<T1, T2, T3>>;
|
|
469
468
|
}
|
|
470
469
|
|
|
471
|
-
export type JoinBlock_3<T1, T2, T3> = JoinBlock_3$instance<T1, T2, T3> & __JoinBlock_3$views<T1, T2, T3>;
|
|
470
|
+
export type JoinBlock_3<T1 extends unknown, T2 extends unknown, T3 extends unknown> = JoinBlock_3$instance<T1, T2, T3> & __JoinBlock_3$views<T1, T2, T3>;
|
|
472
471
|
|
|
473
472
|
|
|
474
|
-
export interface TransformBlock_2$instance<TInput, TOutput> {
|
|
473
|
+
export interface TransformBlock_2$instance<TInput extends unknown, TOutput extends unknown> extends IPropagatorBlock_2$instance<TInput, TOutput>, IReceivableSourceBlock_1$instance<TOutput> {
|
|
475
474
|
readonly __tsonic_type_System_Threading_Tasks_Dataflow_TransformBlock_2: never;
|
|
476
475
|
|
|
477
476
|
readonly __tsonic_iface_System_Threading_Tasks_Dataflow_IDataflowBlock: never;
|
|
@@ -486,28 +485,28 @@ export interface TransformBlock_2$instance<TInput, TOutput> {
|
|
|
486
485
|
Complete(): void;
|
|
487
486
|
LinkTo(target: ITargetBlock_1<TOutput>, linkOptions: DataflowLinkOptions): IDisposable;
|
|
488
487
|
ToString(): string;
|
|
489
|
-
TryReceive(filter: Predicate_1<TOutput
|
|
490
|
-
TryReceiveAll(items: IList_1<TOutput>): boolean;
|
|
488
|
+
TryReceive(filter: Predicate_1<TOutput> | null, item: TOutput): boolean;
|
|
489
|
+
TryReceiveAll(items: IList_1<TOutput> | null): boolean;
|
|
491
490
|
}
|
|
492
491
|
|
|
493
492
|
|
|
494
493
|
export const TransformBlock_2: {
|
|
495
|
-
new<TInput, TOutput>(transform: Func_2<TInput, TOutput>): TransformBlock_2<TInput, TOutput>;
|
|
496
|
-
new<TInput, TOutput>(transform: Func_2<TInput, TOutput>, dataflowBlockOptions: ExecutionDataflowBlockOptions): TransformBlock_2<TInput, TOutput>;
|
|
494
|
+
new<TInput extends unknown, TOutput extends unknown>(transform: Func_2<TInput, TOutput>): TransformBlock_2<TInput, TOutput>;
|
|
495
|
+
new<TInput extends unknown, TOutput extends unknown>(transform: Func_2<TInput, TOutput>, dataflowBlockOptions: ExecutionDataflowBlockOptions): TransformBlock_2<TInput, TOutput>;
|
|
497
496
|
};
|
|
498
497
|
|
|
499
498
|
|
|
500
|
-
export interface __TransformBlock_2$views<TInput, TOutput> {
|
|
499
|
+
export interface __TransformBlock_2$views<TInput extends unknown, TOutput extends unknown> {
|
|
501
500
|
As_IDataflowBlock(): IDataflowBlock$instance;
|
|
502
501
|
As_IReceivableSourceBlock_1(): IReceivableSourceBlock_1$instance<TOutput>;
|
|
503
502
|
As_ISourceBlock_1(): ISourceBlock_1$instance<TOutput>;
|
|
504
503
|
As_ITargetBlock_1(): ITargetBlock_1$instance<TInput>;
|
|
505
504
|
}
|
|
506
505
|
|
|
507
|
-
export type TransformBlock_2<TInput, TOutput> = TransformBlock_2$instance<TInput, TOutput> & __TransformBlock_2$views<TInput, TOutput>;
|
|
506
|
+
export type TransformBlock_2<TInput extends unknown, TOutput extends unknown> = TransformBlock_2$instance<TInput, TOutput> & __TransformBlock_2$views<TInput, TOutput>;
|
|
508
507
|
|
|
509
508
|
|
|
510
|
-
export interface TransformManyBlock_2$instance<TInput, TOutput> {
|
|
509
|
+
export interface TransformManyBlock_2$instance<TInput extends unknown, TOutput extends unknown> extends IPropagatorBlock_2$instance<TInput, TOutput>, IReceivableSourceBlock_1$instance<TOutput> {
|
|
511
510
|
readonly __tsonic_type_System_Threading_Tasks_Dataflow_TransformManyBlock_2: never;
|
|
512
511
|
|
|
513
512
|
readonly __tsonic_iface_System_Threading_Tasks_Dataflow_IDataflowBlock: never;
|
|
@@ -522,28 +521,28 @@ export interface TransformManyBlock_2$instance<TInput, TOutput> {
|
|
|
522
521
|
Complete(): void;
|
|
523
522
|
LinkTo(target: ITargetBlock_1<TOutput>, linkOptions: DataflowLinkOptions): IDisposable;
|
|
524
523
|
ToString(): string;
|
|
525
|
-
TryReceive(filter: Predicate_1<TOutput
|
|
526
|
-
TryReceiveAll(items: IList_1<TOutput>): boolean;
|
|
524
|
+
TryReceive(filter: Predicate_1<TOutput> | null, item: TOutput): boolean;
|
|
525
|
+
TryReceiveAll(items: IList_1<TOutput> | null): boolean;
|
|
527
526
|
}
|
|
528
527
|
|
|
529
528
|
|
|
530
529
|
export const TransformManyBlock_2: {
|
|
531
|
-
new<TInput, TOutput>(transform: Func_2<TInput, IEnumerable_1<TOutput>>): TransformManyBlock_2<TInput, TOutput>;
|
|
532
|
-
new<TInput, TOutput>(transform: Func_2<TInput, IEnumerable_1<TOutput>>, dataflowBlockOptions: ExecutionDataflowBlockOptions): TransformManyBlock_2<TInput, TOutput>;
|
|
530
|
+
new<TInput extends unknown, TOutput extends unknown>(transform: Func_2<TInput, IEnumerable_1<TOutput>>): TransformManyBlock_2<TInput, TOutput>;
|
|
531
|
+
new<TInput extends unknown, TOutput extends unknown>(transform: Func_2<TInput, IEnumerable_1<TOutput>>, dataflowBlockOptions: ExecutionDataflowBlockOptions): TransformManyBlock_2<TInput, TOutput>;
|
|
533
532
|
};
|
|
534
533
|
|
|
535
534
|
|
|
536
|
-
export interface __TransformManyBlock_2$views<TInput, TOutput> {
|
|
535
|
+
export interface __TransformManyBlock_2$views<TInput extends unknown, TOutput extends unknown> {
|
|
537
536
|
As_IDataflowBlock(): IDataflowBlock$instance;
|
|
538
537
|
As_IReceivableSourceBlock_1(): IReceivableSourceBlock_1$instance<TOutput>;
|
|
539
538
|
As_ISourceBlock_1(): ISourceBlock_1$instance<TOutput>;
|
|
540
539
|
As_ITargetBlock_1(): ITargetBlock_1$instance<TInput>;
|
|
541
540
|
}
|
|
542
541
|
|
|
543
|
-
export type TransformManyBlock_2<TInput, TOutput> = TransformManyBlock_2$instance<TInput, TOutput> & __TransformManyBlock_2$views<TInput, TOutput>;
|
|
542
|
+
export type TransformManyBlock_2<TInput extends unknown, TOutput extends unknown> = TransformManyBlock_2$instance<TInput, TOutput> & __TransformManyBlock_2$views<TInput, TOutput>;
|
|
544
543
|
|
|
545
544
|
|
|
546
|
-
export interface WriteOnceBlock_1$instance<T> {
|
|
545
|
+
export interface WriteOnceBlock_1$instance<T extends unknown> extends IPropagatorBlock_2$instance<T, T>, IReceivableSourceBlock_1$instance<T> {
|
|
547
546
|
readonly __tsonic_type_System_Threading_Tasks_Dataflow_WriteOnceBlock_1: never;
|
|
548
547
|
|
|
549
548
|
readonly __tsonic_iface_System_Threading_Tasks_Dataflow_IDataflowBlock: never;
|
|
@@ -556,53 +555,53 @@ export interface WriteOnceBlock_1$instance<T> {
|
|
|
556
555
|
Complete(): void;
|
|
557
556
|
LinkTo(target: ITargetBlock_1<T>, linkOptions: DataflowLinkOptions): IDisposable;
|
|
558
557
|
ToString(): string;
|
|
559
|
-
TryReceive(filter: Predicate_1<T
|
|
558
|
+
TryReceive(filter: Predicate_1<T> | null, item: T): boolean;
|
|
560
559
|
}
|
|
561
560
|
|
|
562
561
|
|
|
563
562
|
export const WriteOnceBlock_1: {
|
|
564
|
-
new<T>(cloningFunction: Func_2<T, T>): WriteOnceBlock_1<T>;
|
|
565
|
-
new<T>(cloningFunction: Func_2<T, T
|
|
563
|
+
new<T extends unknown>(cloningFunction: Func_2<T, T> | null): WriteOnceBlock_1<T>;
|
|
564
|
+
new<T extends unknown>(cloningFunction: Func_2<T, T> | null, dataflowBlockOptions: DataflowBlockOptions): WriteOnceBlock_1<T>;
|
|
566
565
|
};
|
|
567
566
|
|
|
568
567
|
|
|
569
|
-
export interface __WriteOnceBlock_1$views<T> {
|
|
568
|
+
export interface __WriteOnceBlock_1$views<T extends unknown> {
|
|
570
569
|
As_IDataflowBlock(): IDataflowBlock$instance;
|
|
571
570
|
As_IReceivableSourceBlock_1(): IReceivableSourceBlock_1$instance<T>;
|
|
572
571
|
As_ISourceBlock_1(): ISourceBlock_1$instance<T>;
|
|
573
572
|
As_ITargetBlock_1(): ITargetBlock_1$instance<T>;
|
|
574
573
|
}
|
|
575
574
|
|
|
576
|
-
export type WriteOnceBlock_1<T> = WriteOnceBlock_1$instance<T> & __WriteOnceBlock_1$views<T>;
|
|
575
|
+
export type WriteOnceBlock_1<T extends unknown> = WriteOnceBlock_1$instance<T> & __WriteOnceBlock_1$views<T>;
|
|
577
576
|
|
|
578
577
|
|
|
579
578
|
export abstract class DataflowBlock$instance {
|
|
580
|
-
static AsObservable<TOutput>(source: ISourceBlock_1<TOutput>): IObservable_1<TOutput>;
|
|
581
|
-
static AsObserver<TInput>(target: ITargetBlock_1<TInput>): IObserver_1<TInput>;
|
|
582
|
-
static Choose<T1, T2, T3>(source1: ISourceBlock_1<T1>, action1: Action_1<T1>, source2: ISourceBlock_1<T2>, action2: Action_1<T2>, source3: ISourceBlock_1<T3>, action3: Action_1<T3>, dataflowBlockOptions: DataflowBlockOptions): Task_1<System_Internal.Int32>;
|
|
583
|
-
static Choose<T1, T2, T3>(source1: ISourceBlock_1<T1>, action1: Action_1<T1>, source2: ISourceBlock_1<T2>, action2: Action_1<T2>, source3: ISourceBlock_1<T3>, action3: Action_1<T3>): Task_1<System_Internal.Int32>;
|
|
584
|
-
static Choose<T1, T2>(source1: ISourceBlock_1<T1>, action1: Action_1<T1>, source2: ISourceBlock_1<T2>, action2: Action_1<T2>, dataflowBlockOptions: DataflowBlockOptions): Task_1<System_Internal.Int32>;
|
|
585
|
-
static Choose<T1, T2>(source1: ISourceBlock_1<T1>, action1: Action_1<T1>, source2: ISourceBlock_1<T2>, action2: Action_1<T2>): Task_1<System_Internal.Int32>;
|
|
586
|
-
static Encapsulate<TInput, TOutput>(target: ITargetBlock_1<TInput>, source: ISourceBlock_1<TOutput>): IPropagatorBlock_2<TInput, TOutput>;
|
|
587
|
-
static LinkTo<TOutput>(source: ISourceBlock_1<TOutput>, target: ITargetBlock_1<TOutput>, predicate: Predicate_1<TOutput>): IDisposable;
|
|
588
|
-
static LinkTo<TOutput>(source: ISourceBlock_1<TOutput>, target: ITargetBlock_1<TOutput>, linkOptions: DataflowLinkOptions, predicate: Predicate_1<TOutput>): IDisposable;
|
|
589
|
-
static LinkTo<TOutput>(source: ISourceBlock_1<TOutput>, target: ITargetBlock_1<TOutput>): IDisposable;
|
|
590
|
-
static NullTarget<TInput>(): ITargetBlock_1<TInput>;
|
|
591
|
-
static OutputAvailableAsync<TOutput>(source: ISourceBlock_1<TOutput>, cancellationToken: CancellationToken): Task_1<System_Internal.Boolean>;
|
|
592
|
-
static OutputAvailableAsync<TOutput>(source: ISourceBlock_1<TOutput>): Task_1<System_Internal.Boolean>;
|
|
593
|
-
static Post<TInput>(target: ITargetBlock_1<TInput>, item: TInput): boolean;
|
|
594
|
-
static Receive<TOutput>(source: ISourceBlock_1<TOutput>, cancellationToken: CancellationToken): TOutput;
|
|
595
|
-
static Receive<TOutput>(source: ISourceBlock_1<TOutput>, timeout: TimeSpan, cancellationToken: CancellationToken): TOutput;
|
|
596
|
-
static Receive<TOutput>(source: ISourceBlock_1<TOutput>, timeout: TimeSpan): TOutput;
|
|
597
|
-
static Receive<TOutput>(source: ISourceBlock_1<TOutput>): TOutput;
|
|
598
|
-
static ReceiveAllAsync<TOutput>(source: IReceivableSourceBlock_1<TOutput>, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TOutput>;
|
|
599
|
-
static ReceiveAsync<TOutput>(source: ISourceBlock_1<TOutput>, cancellationToken: CancellationToken): Task_1<TOutput>;
|
|
600
|
-
static ReceiveAsync<TOutput>(source: ISourceBlock_1<TOutput>, timeout: TimeSpan, cancellationToken: CancellationToken): Task_1<TOutput>;
|
|
601
|
-
static ReceiveAsync<TOutput>(source: ISourceBlock_1<TOutput>, timeout: TimeSpan): Task_1<TOutput>;
|
|
602
|
-
static ReceiveAsync<TOutput>(source: ISourceBlock_1<TOutput>): Task_1<TOutput>;
|
|
603
|
-
static SendAsync<TInput>(target: ITargetBlock_1<TInput>, item: TInput, cancellationToken: CancellationToken): Task_1<System_Internal.Boolean>;
|
|
604
|
-
static SendAsync<TInput>(target: ITargetBlock_1<TInput>, item: TInput): Task_1<System_Internal.Boolean>;
|
|
605
|
-
static TryReceive<TOutput>(source: IReceivableSourceBlock_1<TOutput>, item: TOutput): boolean;
|
|
579
|
+
static AsObservable<TOutput extends unknown>(source: ISourceBlock_1<TOutput>): IObservable_1<TOutput>;
|
|
580
|
+
static AsObserver<TInput extends unknown>(target: ITargetBlock_1<TInput>): IObserver_1<TInput>;
|
|
581
|
+
static Choose<T1 extends unknown, T2 extends unknown, T3 extends unknown>(source1: ISourceBlock_1<T1>, action1: Action_1<T1>, source2: ISourceBlock_1<T2>, action2: Action_1<T2>, source3: ISourceBlock_1<T3>, action3: Action_1<T3>, dataflowBlockOptions: DataflowBlockOptions): Task_1<System_Internal.Int32>;
|
|
582
|
+
static Choose<T1 extends unknown, T2 extends unknown, T3 extends unknown>(source1: ISourceBlock_1<T1>, action1: Action_1<T1>, source2: ISourceBlock_1<T2>, action2: Action_1<T2>, source3: ISourceBlock_1<T3>, action3: Action_1<T3>): Task_1<System_Internal.Int32>;
|
|
583
|
+
static Choose<T1 extends unknown, T2 extends unknown>(source1: ISourceBlock_1<T1>, action1: Action_1<T1>, source2: ISourceBlock_1<T2>, action2: Action_1<T2>, dataflowBlockOptions: DataflowBlockOptions): Task_1<System_Internal.Int32>;
|
|
584
|
+
static Choose<T1 extends unknown, T2 extends unknown>(source1: ISourceBlock_1<T1>, action1: Action_1<T1>, source2: ISourceBlock_1<T2>, action2: Action_1<T2>): Task_1<System_Internal.Int32>;
|
|
585
|
+
static Encapsulate<TInput extends unknown, TOutput extends unknown>(target: ITargetBlock_1<TInput>, source: ISourceBlock_1<TOutput>): IPropagatorBlock_2<TInput, TOutput>;
|
|
586
|
+
static LinkTo<TOutput extends unknown>(source: ISourceBlock_1<TOutput>, target: ITargetBlock_1<TOutput>, predicate: Predicate_1<TOutput>): IDisposable;
|
|
587
|
+
static LinkTo<TOutput extends unknown>(source: ISourceBlock_1<TOutput>, target: ITargetBlock_1<TOutput>, linkOptions: DataflowLinkOptions, predicate: Predicate_1<TOutput>): IDisposable;
|
|
588
|
+
static LinkTo<TOutput extends unknown>(source: ISourceBlock_1<TOutput>, target: ITargetBlock_1<TOutput>): IDisposable;
|
|
589
|
+
static NullTarget<TInput extends unknown>(): ITargetBlock_1<TInput>;
|
|
590
|
+
static OutputAvailableAsync<TOutput extends unknown>(source: ISourceBlock_1<TOutput>, cancellationToken: CancellationToken): Task_1<System_Internal.Boolean>;
|
|
591
|
+
static OutputAvailableAsync<TOutput extends unknown>(source: ISourceBlock_1<TOutput>): Task_1<System_Internal.Boolean>;
|
|
592
|
+
static Post<TInput extends unknown>(target: ITargetBlock_1<TInput>, item: TInput): boolean;
|
|
593
|
+
static Receive<TOutput extends unknown>(source: ISourceBlock_1<TOutput>, cancellationToken: CancellationToken): TOutput;
|
|
594
|
+
static Receive<TOutput extends unknown>(source: ISourceBlock_1<TOutput>, timeout: TimeSpan, cancellationToken: CancellationToken): TOutput;
|
|
595
|
+
static Receive<TOutput extends unknown>(source: ISourceBlock_1<TOutput>, timeout: TimeSpan): TOutput;
|
|
596
|
+
static Receive<TOutput extends unknown>(source: ISourceBlock_1<TOutput>): TOutput;
|
|
597
|
+
static ReceiveAllAsync<TOutput extends unknown>(source: IReceivableSourceBlock_1<TOutput>, cancellationToken?: CancellationToken): IAsyncEnumerable_1<TOutput>;
|
|
598
|
+
static ReceiveAsync<TOutput extends unknown>(source: ISourceBlock_1<TOutput>, cancellationToken: CancellationToken): Task_1<TOutput>;
|
|
599
|
+
static ReceiveAsync<TOutput extends unknown>(source: ISourceBlock_1<TOutput>, timeout: TimeSpan, cancellationToken: CancellationToken): Task_1<TOutput>;
|
|
600
|
+
static ReceiveAsync<TOutput extends unknown>(source: ISourceBlock_1<TOutput>, timeout: TimeSpan): Task_1<TOutput>;
|
|
601
|
+
static ReceiveAsync<TOutput extends unknown>(source: ISourceBlock_1<TOutput>): Task_1<TOutput>;
|
|
602
|
+
static SendAsync<TInput extends unknown>(target: ITargetBlock_1<TInput>, item: TInput, cancellationToken: CancellationToken): Task_1<System_Internal.Boolean>;
|
|
603
|
+
static SendAsync<TInput extends unknown>(target: ITargetBlock_1<TInput>, item: TInput): Task_1<System_Internal.Boolean>;
|
|
604
|
+
static TryReceive<TOutput extends unknown>(source: IReceivableSourceBlock_1<TOutput>, item: TOutput): boolean;
|
|
606
605
|
}
|
|
607
606
|
|
|
608
607
|
|
|
@@ -5,6 +5,10 @@
|
|
|
5
5
|
// Import internal declarations
|
|
6
6
|
import * as Internal from './System.Threading.Tasks.Dataflow/internal/index.js';
|
|
7
7
|
|
|
8
|
+
// Core type aliases from @tsonic/core
|
|
9
|
+
import type { fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
10
|
+
|
|
11
|
+
|
|
8
12
|
// Cross-namespace type imports for constraints
|
|
9
13
|
import type { IAsyncEnumerable_1, IEnumerable_1, IList_1 } from './System.Collections.Generic/internal/index.js';
|
|
10
14
|
import type { Task, Task_1, TaskScheduler } from './System.Threading.Tasks/internal/index.js';
|
|
@@ -20,10 +24,10 @@ export { DataflowLinkOptions as DataflowLinkOptions } from './System.Threading.T
|
|
|
20
24
|
export { DataflowMessageHeader as DataflowMessageHeader } from './System.Threading.Tasks.Dataflow/internal/index.js';
|
|
21
25
|
export { DataflowMessageStatus as DataflowMessageStatus } from './System.Threading.Tasks.Dataflow/internal/index.js';
|
|
22
26
|
export type IDataflowBlock = Internal.IDataflowBlock;
|
|
23
|
-
export type IPropagatorBlock<TInput, TOutput> = Internal.IPropagatorBlock_2<TInput, TOutput>;
|
|
24
|
-
export type IReceivableSourceBlock<TOutput> = Internal.IReceivableSourceBlock_1<TOutput>;
|
|
25
|
-
export type ISourceBlock<TOutput> = Internal.ISourceBlock_1<TOutput>;
|
|
26
|
-
export type ITargetBlock<TInput> = Internal.ITargetBlock_1<TInput>;
|
|
27
|
+
export type IPropagatorBlock<TInput extends unknown, TOutput extends unknown> = Internal.IPropagatorBlock_2<TInput, TOutput>;
|
|
28
|
+
export type IReceivableSourceBlock<TOutput extends unknown> = Internal.IReceivableSourceBlock_1<TOutput>;
|
|
29
|
+
export type ISourceBlock<TOutput extends unknown> = Internal.ISourceBlock_1<TOutput>;
|
|
30
|
+
export type ITargetBlock<TInput extends unknown> = Internal.ITargetBlock_1<TInput>;
|
|
27
31
|
export { ActionBlock_1 as ActionBlock } from './System.Threading.Tasks.Dataflow/internal/index.js';
|
|
28
32
|
export { BatchBlock_1 as BatchBlock } from './System.Threading.Tasks.Dataflow/internal/index.js';
|
|
29
33
|
export { BroadcastBlock_1 as BroadcastBlock } from './System.Threading.Tasks.Dataflow/internal/index.js';
|
|
@@ -39,20 +43,20 @@ declare const __unspecified: unique symbol;
|
|
|
39
43
|
export type __ = typeof __unspecified;
|
|
40
44
|
|
|
41
45
|
export type BatchedJoinBlock<
|
|
42
|
-
T1 = __,
|
|
43
|
-
T2 = __,
|
|
44
|
-
T3 = __,
|
|
46
|
+
T1 extends unknown | __ = __,
|
|
47
|
+
T2 extends unknown | __ = __,
|
|
48
|
+
T3 extends unknown | __ = __,
|
|
45
49
|
> =
|
|
46
|
-
[T3] extends [__] ? Internal.BatchedJoinBlock_2<T1, T2> :
|
|
47
|
-
Internal.BatchedJoinBlock_3<T1, T2, T3
|
|
50
|
+
[T3] extends [__] ? [T1] extends [unknown] ? [T2] extends [unknown] ? Internal.BatchedJoinBlock_2<T1, T2> : never : never :
|
|
51
|
+
[T1] extends [unknown] ? [T2] extends [unknown] ? [T3] extends [unknown] ? Internal.BatchedJoinBlock_3<T1, T2, T3> : never : never : never;
|
|
48
52
|
|
|
49
53
|
export type JoinBlock<
|
|
50
|
-
T1 = __,
|
|
51
|
-
T2 = __,
|
|
52
|
-
T3 = __,
|
|
54
|
+
T1 extends unknown | __ = __,
|
|
55
|
+
T2 extends unknown | __ = __,
|
|
56
|
+
T3 extends unknown | __ = __,
|
|
53
57
|
> =
|
|
54
|
-
[T3] extends [__] ? Internal.JoinBlock_2<T1, T2> :
|
|
55
|
-
Internal.JoinBlock_3<T1, T2, T3
|
|
58
|
+
[T3] extends [__] ? [T1] extends [unknown] ? [T2] extends [unknown] ? Internal.JoinBlock_2<T1, T2> : never : never :
|
|
59
|
+
[T1] extends [unknown] ? [T2] extends [unknown] ? [T3] extends [unknown] ? Internal.JoinBlock_3<T1, T2, T3> : never : never : never;
|
|
56
60
|
|
|
57
61
|
// Extension methods (C# using semantics)
|
|
58
62
|
export type { ExtensionMethods_System_Threading_Tasks_Dataflow as ExtensionMethods } from './__internal/extensions/index.js';
|