Non-blocking resource reading can now specify how many bytes or lines should be returned at a time.