Skip to content

toFuture incorrect diagram/description #6198

@akarnokd

Description

@akarnokd

Both Flowable.toFuture and Observable.toFuture describes the wrong behavior: If the source has more than one element, the outcome is actually IndexOutOfBoundsException.

In addition, the docs should mention the source has to terminate in order for the Future to terminate.

Plus, the marble should be updated to reflect the actual behavior (there is no dispose upon the first received item).

image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions