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
Returns a Promise that is fulfilled when all promises in input and ones returned from mapper are fulfilled, or rejects if any of the promises reject. The fulfilled value is the same as input, but with a fulfilled version of each entry value, or the fulfilled value returned from mapper, if defined.
input
Type: Map | object
Resolves entry values that are promises. Other values are passed through.
mapper(value, key)
Type: Function
Receives the current value and key as parameters. If a value is a Promise, mapper will receive the value this Promise resolves to. Expected to return a Promise or value.
Returns a Promise that is fulfilled when all promises in input and ones returned from mapper are settled. The fulfilled value is the same as input, but with a settled version of each entry value, or the settled value returned from mapper, if defined.
input
Type: Map | object
Resolves entry values that are promises. Other values are passed through.
mapper(value, key)
Type: Function
Receives the current value and key as parameters. If a value is a Promise, mapper will receive the value this Promise resolves to. Expected to return a Promise or value.