See also

  • Official ReactiveX documentation: Select

Project each element of an observable sequence into a new form by incorporating the element’s index.

1 - value: value * value) 2 - value, index: value * value + index)

Keyword arguments: :param Callable[[Any, Any], Any] selector: A transform function to

apply to each source element; the second parameter of the function represents the index of the source element.
Return type:Observable

Returns an observable sequence whose elements are the result of invoking the transform function on each element of source.