AsyncFunction: new (...args: string[]) => AsyncFunctionType = ...

The AsyncFunction constructor (not exposed as a global), obtained from the prototype of an async function. Used to compile async function bodies from source strings.

Type declaration

    • new (...args: string[]): AsyncFunctionType
    • Compile an async function from parameter names plus a body string.

      Parameters

      • ...args: string[]

      Returns AsyncFunctionType