jeffijoe / mobx-task

Makes async function state management in MobX fun.
MIT License
238 stars 6 forks source link

Port to TypeScript + TaskGroup feature #19

Closed jeffijoe closed 5 years ago

jeffijoe commented 5 years ago

This PR ports the codebase to TypeScript as best as possible. A fully type safe implementation is impossible due to the hoops we have to go through for patching functions.

Additionally, I've added a TaskGroup feature. It's often that I have a bunch of commands tied to a single "thing" and I want to track pending, resolved and rejected states for all of them, but treat them as one. This is what TaskGroup does.

jeffijoe commented 5 years ago

:tada: This PR is included in version 2.0.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: