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.
- Updated README and upgraded NPM dependencies
- Fixed an error in the examples in README.md. No code change
- Declare return type as tuple in result type interface
- Compile to ES2019
- Converted the
result
anderror
properties to getters This improved type inference of theresult
property
- Only updates to the README file
- Removed all the
collection
classes. Theall()
andallSettled()
methods instead returnResult
implementations.
- The type inference of
all()
andallSettled()
now seems to behave the same as the nativePromise.all()
andPromise.allSettled()
.
- Typeguard methods
isCollection()
,isSuccessCollection()
andisFailureCollection()
. - A
Collection
,SuccessCollection
andFailureCollection
class. allSettled()
which acts likePromise.allSettled()
. This will not abort on rejections, and will return all promises resolved whether they were successful or not
- Renamed the
truthy
andfalsy
properties tosuccess
andfailure
inSuccessResult
andFailureResult
- Removed the
yes
andno
properites inSuccessResult
andFailureResult
- Inital commit