LoadAssetCallback: (err: string | null, asset?: Asset) => any

Type declaration

    • (err: string | null, asset?: Asset): any
    • Parameters

      • err: string | null

        The error message is null if no errors were encountered.

      • Optionalasset: Asset

        The loaded asset if no errors were encountered.

      Returns any