cancel abstract method

void cancel()

Cancels the read operation. Does nothing if already cancelled or not cancellable.

Implementation

void cancel();