Type alias Callback<TAsset>

Callback<TAsset>: ((this, asset) => void | boolean)

Type Parameters

  • TAsset

    Context value asset type.

Type declaration

    • (this, asset): void | boolean
    • A signature of assets iteration callback.

      Parameters

      • this: void
      • asset: TAsset

        Current asset.

      Returns void | boolean

      false to stop iteration, or true/void to continue.

Generated using TypeDoc