Engine API Reference - v2.7.7
    Preparing search index...

    Type Alias ResourceHandlerCallback

    ResourceHandlerCallback: (err: string | null, response?: any) => void

    Callback used by ResourceHandler#load when a resource is loaded (or an error occurs).

    Type declaration

      • (err: string | null, response?: any): void
      • Parameters

        • err: string | null

          The error message in the case where the load fails.

        • Optionalresponse: any

          The raw data that has been successfully loaded.

        Returns void