add example using toRateLimitedEventStream