Enqueues a Tuple to be sent asynchronously to downstream operators.

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.

Note:
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.
The tuple can be reused once sendOutputAsync returns.

Namespace: StreamBase.SB
Assembly: StreamBase.SB.Client (in StreamBase.SB.Client.dll) Version: 7.7.0.0

Syntax

         
 C#  Visual Basic  Visual C++ 
public void SendOutputAsync(
	int outputPort,
	Tuple tuple
)
Public Sub SendOutputAsync ( _
	outputPort As Integer, _
	tuple As Tuple _
)
public:
void SendOutputAsync(
	int outputPort, 
	Tuple^ tuple
)

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

ExceptionCondition
StreamBase.SB..::..StreamBaseExceptionif an error has occurred during processing.

See Also