call method

  1. @override
void call(
  1. Effect effect,
  2. MsgEmitter<Msg> emit
)
override

Invokes the handle method to process the effect synchronously.

This method ensures that the effect is handled immediately and without any asynchronous operations.

  • effect: The effect to be handled.
  • emit: A function to emit messages as a result of handling the effect.

Implementation

@override
void call(Effect effect, MsgEmitter<Msg> emit) {
  handle(effect, emit);
}