NonSendTaskOnce

Trait NonSendTaskOnce 

Source
pub(crate) trait NonSendTaskOnce: JSTraceable {
    // Required method
    fn run_once(self, cx: &mut JSContext);
}
Expand description

A task that must be run on the same thread it originated in.

Required Methods§

Source

fn run_once(self, cx: &mut JSContext)

Implementors§