Preparing search index...
The search index is not available
matter.js-monorepo
matter.js-monorepo
@matter/main
index
asyncNew
Function asyncNew
async
New
<
const
A
,
const
C
>
(
constructor
,
...
args
)
:
Promise
<
InstanceType
<
C
>
>
Create an instance of a class implementing the
Constructable
pattern.
Type Parameters
const
A
extends
any
[]
const
C
extends
(
new
(
...
args
:
A
)
=>
Constructable
<
any
>
)
Parameters
constructor
:
C
Rest
...
args
:
A
Returns
Promise
<
InstanceType
<
C
>
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
matter.js-monorepo
Loading...
Create an instance of a class implementing the Constructable pattern.