Checkpoint
This commit is contained in:
parent
11b6d9e33a
commit
3f34a8e7ec
4 changed files with 14 additions and 31 deletions
|
@ -162,7 +162,7 @@ pub trait PlatformDispatcher: Send + Sync {
|
|||
fn dispatch(&self, runnable: Runnable);
|
||||
fn dispatch_on_main_thread(&self, runnable: Runnable);
|
||||
fn dispatch_after(&self, duration: Duration, runnable: Runnable);
|
||||
fn poll(&self) -> bool;
|
||||
fn poll(&self, background_only: bool) -> bool;
|
||||
|
||||
#[cfg(any(test, feature = "test-support"))]
|
||||
fn as_test(&self) -> Option<&TestDispatcher> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue