export function isAsyncIterable(obj: any): obj is AsyncIterable { return obj != null && typeof obj[Symbol.asyncIterator] === 'function'; }