pekko icon indicating copy to clipboard operation
pekko copied to clipboard

Add FutureTimeoutSupport#timeout support

Open He-Pin opened this issue 1 year ago • 4 comments

Motivation: Just like Java 's orTimeout method, which will cancel the future(if possible) and complete it with a timeout exception.

He-Pin avatar Jun 11 '24 11:06 He-Pin

I like this feature idea, but do we have any particular reason to need it in 1.1.0? I think we can remove it from the milestone, it can be introduced either before or after 1.1.0.

raboof avatar Jul 29 '24 15:07 raboof

I use something like this in an internal project, so I submitted it here to gather feedback too.

He-Pin avatar Jul 29 '24 18:07 He-Pin

@raboof What do you think about it, I would like to finish it this weekend.

He-Pin avatar Jul 30 '24 07:07 He-Pin

I like the feature idea!

raboof avatar Jul 30 '24 07:07 raboof