The benefit of a lack of order is that you can handle the data in any order without affecting the meaning of the structure. Your example actually illustrates this perfectly. If you specify no ordering, then the database is free to give you results as fast as it can produce them and is...
The returned async iterable works as a "multicast" iterable, meaning that when obtaining multiple iterators of it (such as multiplefor await...ofloops) - each individual consumer would get the exact sequence of values as the other and thus can work independently and concurrently in a decoupled...
push('hello'); // "hello" is logged in the next microtick Hiding the adapter methods from consumers with wrap() The iterables should be one-way for end-users, meaning that the consumer should only be able to request values, not push them, because the iterables could be shared. The ...