fromAsync<T extends JSAny> static method

  1. @Since.new('3.14')
JSPromise<JSArray<T>> fromAsync<T extends JSAny>(
  1. 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,
);