The extension of ICallback that allows many callbacks for each call context.
public interface IStream : ICallback
Deprecated: Stream has only been used in IFetchStream which is now deprecated. This interface will be removed in a future release.
The server may return zero, one, or many results for a call; each result will be supplied to one of the callback methods. When no further results are expected for the call context, OnClose() will be called. If a context is closed prematurely (for example, due to the session being closed), OnDiscard() will be called. One of OnClose() or OnDiscard() will be the final callback made for a call context.
Called to notify that a stream context was closed normally.
No further calls will be made for the stream context.