# File lib/aws/simple_workflow/decision_task.rb, line 572 def _events &block _each_event(@events, &block) next_token = self.next_token while next_token options = @request_options.merge(:next_page_token => next_token) response = client.poll_for_decision_task(options) _each_event(response.data['events'], &block) next_token = response.data['nextPageToken'] end end