mirror of
https://github.com/aljazceru/turso.git
synced 2026-01-12 20:54:21 +01:00
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:
@@ -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(())
|
||||
|
||||
Reference in New Issue
Block a user