ResourceHandlerCallback: ((err, response?) => any)

Type declaration

    • (err, response?): any
    • Parameters

      • err: string | null

        The error message in the case where the load fails.

      • Optional response: *

        The raw data that has been successfully loaded.

      Returns any