Skip to content

Commit

Permalink
Fix module.js
Browse files Browse the repository at this point in the history
  • Loading branch information
udoprog committed Apr 16, 2024
1 parent c7a504b commit ae0d2ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/rune-wasm/module.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/// Hook used to construct an async sleep function.
export function sleep(ms) {
export function js_sleep(ms) {
return new Promise(resolve => setTimeout(resolve, ms));
}
}

0 comments on commit ae0d2ff

Please sign in to comment.