@petsel/es-type-detection - v1.0.0
    Preparing search index...

    Type Alias AsyncFunction

    AsyncFunction: Function & {
        __brand: "AsyncFunction";
        __constructorName: "AsyncFunction";
        prototype: undefined;
    }

    An AsyncFunction type that misses its own prototype slot - created either by an async arrow function expression or by either of both async non-arrow function variants, an async function expression or an async function statement. @property {'AsyncFunction'} [Symbol.toStringTag] Defines the Symbol.toStringTag property as "AsyncFunction".

    Within a TypeScript environment (hence .ts instead of .js files) one can annotate AsyncFunction like that ...

    const AsyncFunctionConstructor = (async () => {}).constructor; export type AsyncFunction = typeof AsyncFunctionConstructor;