Resolves a loadable to a promise
The Loadable type.
Loadable value to resolve.
Resolved value or Promise that resolves to the value.
v0.2.0
async function demo(loadable: Loadable<string>) { const value: string = await resolveLoadable(loadable);} Copy
async function demo(loadable: Loadable<string>) { const value: string = await resolveLoadable(loadable);}
Resolves a loadable to a promise