genCallback.emit

in case the user wants to declare the event beforehand or if the user wants a callback only with sender and the event but the event doesn't have an empty ctor

  1. void emit()
  2. void emit(E event)
    mixintemplate genCallback(T, E : Event, args...)
    void
    emit
    ()

Meta