core: Rename IO::run_once() to IO::step()

The `run_once()` name is just a historical accident. Furthermore, it now
started to appear elsewhere as well, so let's just call it IO::step() as we
should have from the beginning.
This commit is contained in:
Pekka Enberg
2025-09-09 13:43:36 +03:00
parent 0b91f8a715
commit 2131a04b7d
17 changed files with 42 additions and 42 deletions

View File

@@ -252,7 +252,7 @@ impl SyncEngine {
#[napi]
pub fn io_loop_sync(&self) -> napi::Result<()> {
self.io.run_once().map_err(|e| {
self.io.step().map_err(|e| {
napi::Error::new(napi::Status::GenericFailure, format!("IO error: {e}"))
})?;
Ok(())