Groups items into a null-prototype object according to the key returned by fn. The async counterpart of Object.groupBy. The key function may be async; its result is awaited.
fn
Object.groupBy
Returns the group key for each item.
A sink resolving to an object mapping each key to the items in that group, in source order.
Groups items into a null-prototype object according to the key returned by
fn. The async counterpart ofObject.groupBy. The key function may be async; its result is awaited.