`client.get_events_of` it's basically an auto-closing subscription: subscribe, listen until EOSE or when timeout is reached, close subscription and return events.
To subscribe "forever", just use the `client. subscribe` method. All the events will be sent to a notification channel. You can find an example here: