StrategyHandler

class StrategyHandler<TFeature : Any>(val feature: TFeature)(source)

A handler class for managing strategy-related events, providing callbacks for when strategies are started or finished. It is designed to operate on a specific feature type and delegate event handling to the assigned handlers.

Parameters

TFeature

The type of feature associated with the strategy operations.

Constructors

Link copied to clipboard
constructor(feature: TFeature)

Properties

Link copied to clipboard

The specific feature instance associated with this handler.

Link copied to clipboard

A handler for processing the completion of a strategy within the context of a feature update.

Link copied to clipboard

Handler invoked when a strategy is started. This can be used to perform custom logic related to strategy initiation for a specific feature.

Functions

Link copied to clipboard

Handles strategy finish events by delegating to the handler.

Link copied to clipboard

Internal API for handling strategy finish events with type casting.

Link copied to clipboard

Handles strategy starts events by delegating to the handler.

Link copied to clipboard

Internal API for handling strategy start events with type casting.