AsyncFile.onRead
void onRead(ReadCallback callback) @safeRegister callback for read completion.
Callback contract: fires on the loop thread. The data slice is borrowed — valid only during callback execution.
Parameters
callback | Delegate invoked when read completes. |