Skip to content
New issue

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

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

Already on GitHub? # to your account

async.mapLimit support cancel? #1518

Closed
binghaiwang opened this issue Mar 9, 2018 · 1 comment
Closed

async.mapLimit support cancel? #1518

binghaiwang opened this issue Mar 9, 2018 · 1 comment
Labels

Comments

@binghaiwang
Copy link

if async.mapLimit is running, support cancel?

@hargasinski
Copy link
Collaborator

hargasinski commented Mar 9, 2018

Hi @binghaiwang, thanks for the question!

You cannot cancel a running task (see #1353, #1487). However, we do have plans for exiting early, i.e. exiting out of a method, such as mapLimit, before the running tasks finish (ignoring their result), and without starting any of remaining tasks. See #1064 for information about that.

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

No branches or pull requests

2 participants