doc: resumable io