Function maybeCallback

  • Type Parameters

    • T

    Parameters

    • f: (() => Promise<T>)
        • (): Promise<T>
        • Returns Promise<T>

    • Optional callback: Callback<[T]>

    Returns Promise<T | void>

Generated using TypeDoc