Skip to content

delayWhen's delayDurationSelector should support ObservableInput #7046

Closed
@jakovljevic-mladen

Description

@jakovljevic-mladen

Discussed in #6972

Originally posted by jollytoad May 12, 2022
Some operators such as bufferWhen, windowWhen, audit allow their selector fn to return an ObservableInput which really helps with interop with native JS features, such as Promises, Iterables/AsyncIterables etc.

But the delayWhen delayDurationSelector fn must return an Observable, it would really help if this was also ObservableInput. I'm not sure if this is intentional (I don't understand why it would be), or an oversight. I'm not sure if this is the case elsewhere, but it would certainly help if it was consistent across all selector fns.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions