Returns the first n items. Equivalent to Enumerable#take. Sets the limit
parameter on the query to Orchestrate, so we don't ask for more than is needed.
Parameters:
count(Integer)
—
The number of events to limit to.
Returns:
(Array)
134
135
136
# File 'lib/orchestrate/event_source.rb', line 134deftake(count)TimeSlice.new(self).take(count)end