Skip to content

Need a variation on throttle that does not throttle first item #1323

@dalewking

Description

@dalewking

Scenario is I have a screen that has a search field and the search requires making a web service call. We do not want to do a search on each character that is typed so we use throttle on the Observable from the search field so that we only process it after they stop typing. The issue is when we initially create the screen and subscribe to the Observable on the search field the very first value is also throttled. Resulting in an initial delay before retrieving results. Would like a way to pass a parameter to throttle telling it that the very first item after subscription should not be delayed.

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