open operator override fun set(trigger
: T, job
: (E) -> Unit) Adds a job to be performed whenever an event triggers the dispatcher through the listener.
Parameters
the type of the job that needs to occur.
the job that will happen whenever the given job occurs.