Type alias StandardCallback<T>

StandardCallback<T>: ((err, result?) => void)

Type Parameters

  • T

Type declaration

    • (err, result?): void
    • A standard callback format which is invoked upon completion of a task.

      Parameters

      • err: ErrorInfo | null

        An error object if the task failed.

      • Optional result: T

        The result of the task, if any.

      Returns void

Generated using TypeDoc