Type alias StandardCallback<T>

StandardCallback<T>: ((err: Types.ErrorInfo | null, result?: T) => void)

Type Parameters

Type declaration

    • (err: Types.ErrorInfo | null, result?: T): void
    • A standard callback format used in most areas of the callback API.

      Parameters

      • err: Types.ErrorInfo | null

        An error object if the request failed.

      • Optional result: T

        The result of the request, if any.

      Returns void

Generated using TypeDoc