Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upSmall introduction to promises #1172
Open
Labels
Comments
|
Somewhat related: http://mojolicious.org/perldoc/Mojolicious/Guides/Cookbook#Synchronizing-non-blocking-operations talks about promises having the possible states |
|
I'll try to provide a short introduction to promises with examples and open a pull request for further discussion soon. |
|
I've started with the promise states. 8b3e17b |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


This is very similar to #1119, there is no real documentation in
Mojo::Promise. I think it would be nice to explain at the least the basics of how to use promises, their possible states, what returning promises in the->then(...)callbacks means and so on.