def notify(hook_event_type, event_name, from, *data)
      sync_shared do
        hook_event = hook_event_type.build(current, event_name, from)
        subscribers.visit(hook_event, *data)
      end
    end
def notify(hook_event_type, event_name, from, *data)
      sync_shared do
        hook_event = hook_event_type.build(current, event_name, from)
        subscribers.visit(hook_event, *data)
      end
    end
Notify about event all the subscribers

 @param [HookEvent] :hook_event_type
   The hook event type.
 @param [FiniteMachine::Transition] :event_transition
   The event transition.
 @param [Array[Object]] :data
   The data associated with the hook event.

 @return [nil]

 @api private