mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
parent
e958d92be6
commit
4cf46bff2d
51 changed files with 97 additions and 137 deletions
|
@ -45,8 +45,7 @@ use std::sync::mpsc::{Sender, Receiver, channel};
|
|||
/// A ScriptChan that can be cloned freely and will silently send a TrustedWorkerAddress with
|
||||
/// every message. While this SendableWorkerScriptChan is alive, the associated Worker object
|
||||
/// will remain alive.
|
||||
#[derive(Clone)]
|
||||
#[jstraceable]
|
||||
#[derive(JSTraceable, Clone)]
|
||||
pub struct SendableWorkerScriptChan {
|
||||
sender: Sender<(TrustedWorkerAddress, ScriptMsg)>,
|
||||
worker: TrustedWorkerAddress,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue