Fork me on GitHub
#re-frame
<
2019-05-04
>
hoopes23:05:20

is there a best practice for doing something like “fire 2 ajax requests, and fire an event when both complete successfully”? I’m basically looking for something along the lines of promises.all().then(function([resp1, resp2]) { ..... } - would i use the async flow library?

mikethompson23:05:12

@hoops async-flow will certainly handle that case, although its probably designed for slightly more complicated cases.