What do you call a thing that raises something (e.g. an event)?

As @mplungjan and @MarvMills point out, trigger is the accepted term.

trigger verb
something that causes something else to happen

Merriam-Webster

jQuery, the leading javascript framework, uses this nomenclature probably for its brevity. Native javascript (i.e. EMCAScript standard) calls it dispatchEvent (MDN documentation).

If you need to describe code that originates an event, you can just call it the event trigger, as trigger has a noun definition that is well understood and fits within the analogy. Triggerer is clumsy, but should be understood by native english speakers. You can also go with dispatcher, origin (or originator, origin point, originating code etc.) and variations on these.

If none of those tickle your fancy, you can always try a thesaurus.


Programming Exceptions are really just specialized events. Most programming languages use throw-catch for describing these events; while it's a valid metaphorical description of normal events, I would not use throw-catch language for anything that wasn't an exception or error handling. Raising is also commonly used for exceptions, so I would shy away from that term as well.

An even older type of event programming is Interrupt driven, which have variously been described as triggered, messaged or signaled. Edge-triggering is a specific term to hardware interrupts; the term you suggest rising-side puts me in mind of the physical signal (voltage), so I would not use that term either.