net.sf.asyncobjects.asyncscala.nio.adapters
The #close()
operation should be idempotent.
The #close()
operation should be idempotent. It should be no problem with closing the same object twice.
The close operation should cancel the current operation if possible. The close should throw exception only
in serious cases (for example in case of data loss, or inconsistent data)
a promise that resolves when object finishes closing
The local buffer
The local buffer
Read some data from input.
Read some data from input.
a buffer to read data into
a promise that resolves to amount of read elements or -1 meaning that EOF was reached
A input stream adapter