Async Iterables/Pipes: Items are yielded as they become available (with undefined items filtered out)
Promises: Awaited and then processed according to their resolved value
Other values (objects, etc.): Yielded as single items
The feed parameter can be synchronous or asynchronous (returning a Promise).
Async feeds are useful for fetching data from APIs, databases, or any async source.
Creates a pipe from a data source.
Data sources are handled as follows:
undefined- filtered out and not yieldedundefineditems filtered out)undefineditems filtered out)The feed parameter can be synchronous or asynchronous (returning a Promise). Async feeds are useful for fetching data from APIs, databases, or any async source.