Slices an input iterable between the specified start and end indices.
If both start and end indices are non-negative, the slicing is performed lazily.
Otherwise, the slicing is performed greedily.
Returns
A function that accepts an input iterable and returns an async iterable that yields the sliced values.
Slices an input iterable between the specified start and end indices. If both start and end indices are non-negative, the slicing is performed lazily. Otherwise, the slicing is performed greedily.
Returns
A function that accepts an input iterable and returns an async iterable that yields the sliced values.
Example