logic/blocs/blocs library

Classes

FastCalculatorBloc<E extends FastCalculatorBlocEvent<FastCalculatorResults>, S extends FastCalculatorBlocState<FastCalculatorFields, FastCalculatorResults>, R extends FastCalculatorResults>
A generic and customizable FastCalculatorBloc class for managing the business logic of a fast calculator. This class extends the BidirectionalBloc and provides methods for initializing the calculator, patching the calculator state, computing results, and handling various events.
FastCalculatorBlocEvent<R extends FastCalculatorResults>
FastCalculatorBlocEventPayload<R extends FastCalculatorResults>
FastCalculatorBlocState<F extends FastCalculatorFields, R extends FastCalculatorResults>
Represents the state of a calculator's bloc.
HydratedFastCalculatorBloc<E extends FastCalculatorBlocEvent<FastCalculatorResults>, S extends FastCalculatorBlocState<FastCalculatorFields, FastCalculatorResults>, D extends FastCalculatorDocument, R extends FastCalculatorResults>
An abstract class that extends FastCalculatorBloc to create a hydrated calculator bloc.