fromAsync<T extends JSAny> static method
- @Since.new('3.14')
- JSObject arrayLike
Creates a new, shallow-copied JavaScript Array instance from an
JavaScript asynchronous iterable or array-like object that may contain
JavaScript promises.
Implementation
@Since('3.14')
external static JSPromise<JSArray<T>> fromAsync<T extends JSAny>(
JSObject arrayLike,
);