TypeScript API / laikacms/core/utilities / lazyAsync
Function: lazyAsync()
ts
function lazyAsync<T>(func): () => Promise<T>;Type Parameters
| Type Parameter |
|---|
T |
Parameters
| Parameter | Type |
|---|---|
func | () => Promise<T> |
Returns
() => Promise<T>