Rename both PlatformDispatcher::poll and Executor::run_step to 'tick'
Co-authored-by: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
parent
17b2b112bc
commit
f3b6719c76
5 changed files with 8 additions and 8 deletions
|
@ -165,7 +165,7 @@ pub trait PlatformDispatcher: Send + Sync {
|
|||
fn dispatch(&self, runnable: Runnable, label: Option<TaskLabel>);
|
||||
fn dispatch_on_main_thread(&self, runnable: Runnable);
|
||||
fn dispatch_after(&self, duration: Duration, runnable: Runnable);
|
||||
fn poll(&self, background_only: bool) -> bool;
|
||||
fn tick(&self, background_only: bool) -> bool;
|
||||
fn park(&self);
|
||||
fn unparker(&self) -> Unparker;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue