Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix race conditions with functions returning "no output"
The current implementation of `#[node_bindgen]` wrapping shim over `async fn` functions special cased those with no return value to return immediately, for some reason. This meant that if such an `async fn` had a side-effect that following-up code wanted to observe, there would be a race condition whereby such code could observe causally-inconsitent state, leading to logic bugs.
- Loading branch information