Stream.readSomeAsync()

DESCRIPTION

Read some bytes from a stream asynchronously.

Closure is invoked when at least 1 byte is read or the stream is closed or end of file is reached.

DECLARATION

    public func readSomeAsync(closure: @escaping AsyncDataReceiver) 

PARAMETERS

closure:
Invoked when the operation completes, see synchronous readSome() for possible errors.

ERRORS

Throws the following errors:

None.

RETURN VALUES

None.

EXAMPLES

None.