Adds an event subscription. Every time an event occurs, the handler is called, receiving an instance of the event. The subscription is removed when the given lifetime expires.
Adds an event subscription. Every time an event occurs, the handler is called on the given scheduler, receiving an instance of the event. The subscription is removed when the given lifetime expires.