add_pulse_event function

Register a pulse event on one of the compartment of a topology