🦋 Fantasy Land compliant (monadic) alternative to Promises
MIT License
Bot releases are hidden (Show)
✨ #457 TypeScript type inference for the map
function was improved.
⚠️ #457 The TypeScript type for map
has been narrowed, and might now cause a compile error.
Published by Avaq about 4 years ago
🐛 #442 Fixes direct imports of 'index.js', 'test/assertions.js' and 'test/arbitraries.js' for Node 14 users.
Published by Avaq about 4 years ago
⚠️ Breaking changes
import Future from 'fluture'
on Node 14, then updating to this version will likely break your code. See this comment.index.js
, test/assertions.js
, and test/arbitraries.js
are no longer supported on Node 14.✨ New Features
import 'fluture'
on Node 14 now loads the ESM module instead of the CJS module. This means it's no longer necessary to deep-import from fluture/index.js
to get access to the modular version.Published by Avaq over 4 years ago
📜 #432 Include copyright licenses in bundled distributions
Published by Avaq over 4 years ago
✨ #429 Adds better support for Deno and other ESM based runtimes
Published by Avaq over 4 years ago
🚀 #425 (87a3eda) Update the sanctuary-type-identifiers dependency
🐛 #426 (15a5e2a) Fix a small bug in the debug tracing logic for bichain
Published by dicearr over 4 years ago
✨ #411 (d30bdb5) Add Future.bichain
Published by Avaq almost 5 years ago
🐛 #412 (f188e0e) Fixes an issue related to the TypeScript typings for the 'go' function.
Published by Avaq almost 5 years ago
✨ New Features
🚀 Improvements
Published by Avaq almost 5 years ago
🐛 #403 Fix an issue in TypeScript when using .pipe
on map (f)
Published by Avaq almost 5 years ago
🐛 #401 Fixes an issue with the TypeScript type for map
not understanding the overloading for the ConcurrentFuture
type.
Published by Avaq almost 5 years ago
Includes the changes from all version 12 prereleases.
See the GitHub releases for a summary of these changes, and see the upgrade guide for a detailed description of the breaking changes.
Published by Avaq almost 5 years ago
✨ Enhancements
Published by Avaq almost 5 years ago
🐛 Bugfixes
go
Published by Avaq about 5 years ago
⚠️ Breaking changes
index.mjs
to index.js
, and has been made compatible with Node 12. In Node 9, 10, and 11, the modular version must now be loaded with the help of the esm
loader.fold
function has been renamed to coalesce
.Future
constructor is no longer overloaded with a version that allows the computation to return void
.✨ New Features
🚀 Improvements
Published by Avaq about 5 years ago
✨ New features
JSON.stringify
.🐛 Bug fixes
Published by Avaq about 5 years ago
🐛 #362 Fixes an issue where it was possible for parallel
to call to the rejection or recovery continuation multiple times if multiple Futures in its array reject or crash in the same tick.
Published by Avaq over 5 years ago
🐛 #351 Fixes an issue where hook
would attempt to dispose a resource twice if the disposal Future itself would cancel the hooked Future synchronously.
Published by Avaq over 5 years ago
⚠️ Breaking changes
TypeError
s when applied to too many arguments.🚀 Improvements
Published by Avaq over 5 years ago
⚠️ Breaking changes
🐛 Bug fixes