Skip to content

[Bug] reqrespactivity/reqrespquery samples have wrong assumpion about Selector.HasPending #312

@cretz

Description

@cretz

Describe the bug

When I originally developed the reqrespactivity/reqrespquery code, I had a misunderstanding about HasPending() in that I improperly assumed it would return true while a future is outstanding which is not the case, it only returns true if the future is completed and just not handled.

The samples need to be updated to not exit their loop while selector.HasPending or there are unresolved futures.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions