-
Notifications
You must be signed in to change notification settings - Fork 0
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
set of asyncs called by set of asyncs! #5
Comments
I'm not sure I understand the question. The code as written could simply be modified on line 3 to read |
derp. Ok this is not my problem, just a typo in my example... |
@des-des I thought that was probably the case. Do reopen with an example that clarifies your problem! |
ok need to do some bug hunting |
@rjmk ok my issue was exactly as you pointed out. https:/dwyl/adoro/blob/engine/lib/markdown-amp.js#L7 |
👍 |
Happy to be a rubber duck |
Problem
I am trying to apply a pattern something like this:
As expected the out put is this:
What is a nice way to do this. ie
setThreeNumbersAsync
is used/modified in such a way that each call made to it that holds a separate instance of out.possible solutions
new
(but that would upset crockford)out
; each outer array referenced by a counter incremented on each call tosetThreeNumbersAsync
(plus some closure trickery)questions
new
?The text was updated successfully, but these errors were encountered: