3 ms·
I think the use of then() makes sense as this is an async call and not serial. So the function passed to then() is a completion handler, i.e. it is run when the
by alpatters 14y ago
I think the use of then() makes sense as this is an async call and not serial. So the function passed to then() is a completion handler, i.e. it is run when the call is complete.
So do this call, and then when its finsihed do this.
I like it.