emit abstract method
Emits an event, executing all registered hooks for that event.
Implementation
Future<dynamic> emit(
String eventName, {
Future<dynamic> Function(HHCtxI ctx)? action,
bool handleCtrlException = false,
});
Emits an event, executing all registered hooks for that event.
Future<dynamic> emit(
String eventName, {
Future<dynamic> Function(HHCtxI ctx)? action,
bool handleCtrlException = false,
});