emitHookStarted method

void emitHookStarted(
  1. String hookId,
  2. String hookName,
  3. String hookEvent
)

Implementation

void emitHookStarted(String hookId, String hookName, String hookEvent) {
  if (!_shouldEmit(hookEvent)) return;
  _emit(
    HookStartedEvent(
      hookId: hookId,
      hookName: hookName,
      hookEvent: hookEvent,
    ),
  );
}