Collects all values from source into an array and waits for cleanup before resolving.
source
Accepts synchronous and asynchronous iterables. If both stream processing and cleanup fail, the primary processing error is thrown.
Collects all values from
sourceinto an array and waits for cleanup before resolving.Accepts synchronous and asynchronous iterables. If both stream processing and cleanup fail, the primary processing error is thrown.