Skip to content

Add Future::timeout #564

Closed
Closed
@yoshuawuyts

Description

@yoshuawuyts

Similar to future::timeout and Stream::timeout we should add a Future::timeout method.

We already have Future::delay, and timeout would be a great counterpart. This is similar to stdlib's max which is both an inherent method and a free function. Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions