Method: Orchestrate::Collection#lazy
- Defined in:
- lib/orchestrate/collection.rb
#lazy ⇒ Enumerator::Lazy
Creates a Lazy Enumerator for the Collection's KeyValue List. If called inside the app's
#in_parallel block, pre-fetches the first page of results.
198 199 200 |
# File 'lib/orchestrate/collection.rb', line 198 def lazy KeyValueList.new(self).lazy end |