mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
Implement user interaction task source
This commit is contained in:
parent
12a96f7194
commit
cc049515dc
8 changed files with 71 additions and 59 deletions
|
@ -12,5 +12,4 @@ use std::result::Result;
|
|||
|
||||
pub trait TaskSource<T> {
|
||||
fn queue(&self, msg: T) -> Result<(), ()>;
|
||||
fn clone(&self) -> Box<TaskSource<T> + Send>;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue