You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Y.batch() would be much more useful if it accepted arguments which were arrays as well. It could take its arguments and flatten any arrays into one array using Y.Array.flatten()
The text was updated successfully, but these errors were encountered:
I was hoping to leave Y.Promise.every as an implementation of the DOM standard, and I don't see the DOM flattening arrays. I think the most compelling reason to flatten would be, in the case of batch, to be able to pass multiple arguments and alternatively an array, just like use() does. But since Promise.every only takes an array it seems unnecessary to flatten. What do you think?
Y.batch()
would be much more useful if it accepted arguments which were arrays as well. It could take itsarguments
and flatten any arrays into one array usingY.Array.flatten()
The text was updated successfully, but these errors were encountered: