Rename deferred_helper.js -> async_js_helper.js
This commit is contained in:
parent
ebf0cb5bb8
commit
d200a2fd7c
2 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@ use js_sys::Promise;
|
||||||
use wasm_bindgen::prelude::*;
|
use wasm_bindgen::prelude::*;
|
||||||
use wasm_bindgen_futures::JsFuture;
|
use wasm_bindgen_futures::JsFuture;
|
||||||
|
|
||||||
#[wasm_bindgen(module = "/src/deferred_helper.js")]
|
#[wasm_bindgen(module = "/src/async_js_helper.js")]
|
||||||
extern "C" {
|
extern "C" {
|
||||||
fn async_sleep(ms: u32) -> Promise;
|
fn async_sleep(ms: u32) -> Promise;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue