check

open fun check()

Check this stream (e.g. to see if I/O might have been cancelled). To avoid performance degradation, this function should be called infrequently.