All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Disable all blocking functions on Wasm, since you are not allowed to block in a browser
0.3.0 - 2023-08-27
- Support
async-std
executor #15 smol
feature to enable the use ofsmol
- refactor
Promise::spawn_async
into two new functions,Promise::spawn_async
andPromise::spawn_local
smol_tick_poll
feature to automatically tick the smol executor when polling promises
spawn_async
is now calledspawn_local
on web.
0.2.1 - 2023-09-29
- Undefined behavior in
PromiseImpl::poll
andPromiseImpl::block_until_ready
0.2.0 - 2022-10-25
web
feature to enablePromise::spawn_async
usingwasm_bindgen_futures::spawn_local
.- Add
Promise::abort
to abort the associated async task, if any.
0.1.0 - 2022-01-10
- Initial commit - add the
Promise
type.