Skip to content

wrapInPromise

wrapInPromise(value): Promise<void>

Just a more verbose syntactic sugar for create an async function and immediately calling it.

Parameters

value

Returns

Promise<void>

Source

src/utils.ts:198