Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancements #3

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Enhancements #3

wants to merge 3 commits into from

Conversation

mkeasling
Copy link

Automatically gives Deferred classes the ability to reference the Promise
Promise class collects continuous state
New Deferred classes can be added to the promise stack at any time
Execution can be paused & resumed, which allows for things like Batchable or Schedulable classes to be run within a Promise chain.

Automatically gives Deferred classes the ability to reference the Promise
Promise class collects continuous state
New Deferred classes can be added to the promise stack at any time
Execution can be paused & resumed, which allows for things like Batchable or Schedulable classes to be run within a Promise chain.
@codefriar
Copy link
Owner

@mkeasling this looks awesome. mind adding some docs / modifications to read me on use and features? please! if you can do that, I'll merge!

@mkeasling
Copy link
Author

I'll be happy to! Wasn't sure if you'd want to accept the changes at all, b/c it does introduce breaking changes... namely the Interfaces are now Abstract classes. That provides some nice extra functionality, but does mean that, at the very least, any older code will have to be updated from "implements" to "extends".

I'll work on documentation in the next few days; thanks!

@ghost
Copy link

ghost commented Dec 26, 2019

@codefriar is this PR needed to support Batch(able) and Schedulable classes?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants