Enqueues a Tuple to be sent asynchronously to downstream operators.
The tuple can be reused once sendOutputAsync returns.
All calls to SendOutputAsync(Int32, Tuple) are well ordered with respect to other calls to SendOutputAsync(Int32, Tuple), meaning that downstream logic will receive the tuples in the order they are sent.
Calls to SendOutputAsync(Int32, Tuple) and SendOutput(Int32, Tuple) are not well ordered with respect to each other, meaning calls from the two methods can be received downstream in any order.
![]() |
---|
The Tuple will be queued into the application some time in the future. The asynchronous nature of this call could cause subtle race conditions in applications. The performance differential (if any) between SendOutputAsync(Int32, Tuple) and SendOutput(Int32, Tuple) is highly dependent upon the application and hardware. Benchmarking is the only way to ensure the fastest possible implementation. |
Namespace: StreamBase.SB
Assembly: StreamBase.SB.Client (in StreamBase.SB.Client.dll) Version: 11.1.0.0
Syntax
C# | Visual Basic | Visual C++ |
Parameters
- outputPort
- Int32
the (zero-based) number of the output port on which this tuple is to be sent.
- tuple
- Tuple
tuple to send.
Exceptions
Exception | Condition |
---|---|
StreamBase.SB..::..StreamBaseException | if an error has occurred during processing. |