Remove obsolete Worker bindings

This commit is contained in:
Ingvar Stepanyan
2020-04-28 13:43:49 +01:00
parent 6db70e5e27
commit 65038c45bd
2 changed files with 0 additions and 5 deletions

View File

@@ -8,13 +8,8 @@ use oxipng::AlphaOptim;
#[wasm_bindgen]
extern "C" {
type Worker;
#[wasm_bindgen(js_namespace = Array, js_name = of)]
fn array_of_2(a: JsValue, b: JsValue) -> JsValue;
#[wasm_bindgen(method, js_name = postMessage)]
fn post_message(worker: &Worker, msg: JsValue);
}
static TASKS: OnceCell<Injector<rayon::ThreadBuilder>> = OnceCell::new();