pub fn get_async_iterator(src: &Value) -> Result<Value, String>Expand description
Obtain an async iterator for for await. If src has a Symbol.asyncIterator
method, use it (its .next() returns a promise of {value, done}); otherwise
fall back to the sync iterable, materialized into a JsObj::Iter whose values
are awaited one at a time by async_step.