Function constructPojoAsync
- constructPojoAsync<Pojo, CtorInput>(CTorPropsAsyncClass: (new (input?: CtorInput) => PojoConstructorAsyncProps<Pojo, CtorInput>), pojoConstructorInput?: CtorInput, pojoConstructorOptions?: PojoConstructorAsyncOptions<Pojo, CtorInput>): Promise<PojoHost<Pojo>>
-
Type Parameters
-
Pojo extends object
-
CtorInput = unknown
Parameters
-
CTorPropsAsyncClass: (new (input?: CtorInput) => PojoConstructorAsyncProps<Pojo, CtorInput>)
-
Optional
pojoConstructorInput: CtorInput
-
Returns Promise<PojoHost<Pojo>>
Wrapper for constructPojoFromInstance.
Instantiates
CTorPropsAsyncClass
passingconstructPojoInput
to constructor.