Asynchronous close method for the underlying event stream. The user should call this function when finished with the operation in order to clean up native resources. Failing to do so will cause the native resources to persist until the client is closed. If the client is never closed then every unclosed operation will leak.
Static
ENDEDEvent emitted when the operation's stream has ended. Only emitted if the stream was successfully activated.
Listener type: StreamingOperationEndedListener
Static
MESSAGEEvent emitted when an incoming eventstream message is successfully deserialized into a modeled inbound streaming shape type.
Static
STREAM_Event emitted when an incoming eventstream message resulted in some kind of error. Usually this is either a modeled service error or a deserialization error for messages that cannot be mapped to the service model.
Listener type: StreamingRpcErrorListener
Generated using TypeDoc
Implementation of a bi-direction streaming operation.
TODO: may change slightly for uni-directional operations