Creates a data reader for the given stream, passes it to the given callback function and releases the stream reader lock after callback execution.
The stream to read from.
The callback function to call with the created data reader as argument.
Optional
Optional data reader options.
Creates a data reader for the given stream, passes it to the given callback function and releases the stream reader lock after callback execution.