Type alias Collector<TAsset>

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

Type Parameters

  • TAsset

    Context value asset type.

Type declaration

    • (this, asset): void | boolean
    • A signature of context value assets collector.

      The placeAsset method passes evaluated assets to it.

      Parameters

      • this: void
      • asset: TAsset

        Asset to collect.

      Returns void | boolean

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

Generated using TypeDoc