Skip to content

Extend Scheduler#scheduleDirect with a Disposable container #7445

@sahil2441

Description

@sahil2441

There's recent API addition in 3.1.0 that adds a composite in the subscribe() calls as a 4th parameter so that when the upstream terminates the disposable is also disposed.

In our application we use Scheduler#scheduleDirect very often.
It'd be nice to extend Scheduler#scheduleDirect with a Composite so that returned the Disposable is automatically disposed when the upstream terminates.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions