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

Chaining of asynchronous functions is not working! #12

Closed
swapnilk opened this issue Jun 15, 2015 · 1 comment
Closed

Chaining of asynchronous functions is not working! #12

swapnilk opened this issue Jun 15, 2015 · 1 comment

Comments

@swapnilk
Copy link

I'm trying to do as follows:

//task1,task2, task3 are functions

//task1 returns promise
task1()
//task2 returns promise
.then(task2)
.then(task3)

I want to execute task 3 only when the promise of task 2 is resolved. This doesn't work.

As soon as promise for task1 is resolved code executes task2 and task3. Can you look into this bug?

@wilk
Copy link
Owner

wilk commented May 1, 2016

This project is no longer mainteined. Sorry.

@wilk wilk closed this as completed May 1, 2016
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

No branches or pull requests

2 participants