|
C++ YT Wrapper
C++ library for working with YT clusters
|
Input stream that supports aborting the read operation. More...
#include <abortable_stream.h>
Public Member Functions | |
| virtual void | Abort () |
| Immediately abort the stream, cancelling current and future reads. | |
| virtual bool | IsAborted () const |
| Check whether the stream has been aborted. | |
Static Public Member Functions | |
| static bool | IsAbortedError (const std::exception_ptr &error) |
Input stream that supports aborting the read operation.
Extends IInputStream with the ability to immediately cancel current or future reads.
|
virtual |
Immediately abort the stream, cancelling current and future reads.
Some clients have already implemented this interface, so using pure virtual method leads to build errors.