ClientCompute

Implements ICompute<Compute>

Manages client-side computations, state subscriptions, and lifecycle events.

constructor(params: IComputeParams<Compute>);
params: IComputeParams<Compute>
__@DISPOSE_SLOT_FN_SYMBOL@3163: any

Stores the composed dispose function.

__@GET_COMPUTE_DATA_FN_SYMBOL@3164: any

Memoized function for retrieving compute data.

getComputeData(): Promise<any>;

Retrieves the computation data using a memoized function.

calculate(stateName: StateName): Promise<void>;

Triggers a recalculation based on a state change and clears memoized data.

update(): Promise<void>;

Forces an update of the computation and clears memoized data.

dispose(): Promise<void>;

Cleans up resources, unsubscribes from state changes, and triggers onDispose callback.