mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-06-12 20:41:24 +00:00
moved threadsafe futures implementation to a separate file, made updates after review
This commit is contained in:
@ -18,7 +18,7 @@ wasm-bindgen = { version = "0.2.48", features = ['serde-serialize'] }
|
||||
wasm-bindgen-futures = "0.3.25"
|
||||
|
||||
[dependencies.web-sys]
|
||||
version = "0.3.4"
|
||||
version = "0.3.23"
|
||||
features = [
|
||||
'CanvasRenderingContext2d',
|
||||
'ErrorEvent',
|
||||
|
@ -92,7 +92,7 @@ impl Scene {
|
||||
.map(move |_data| image_data(base, len, width, height).into());
|
||||
|
||||
Ok(RenderingScene {
|
||||
promise: wasm_bindgen_futures::future_to_promise(done),
|
||||
promise: wasm_bindgen_futures::atomics::future_to_promise(done),
|
||||
base,
|
||||
len,
|
||||
height,
|
||||
|
Reference in New Issue
Block a user