[SERVER-54033] Create a withTimeout helper function for Futures Created: 25/Jan/21  Updated: 06/Dec/22

Status: Backlog
Project: Core Server
Component/s: Internal Code
Affects Version/s: None
Fix Version/s: None

Type: New Feature Priority: Major - P3
Reporter: Tyler Seip (Inactive) Assignee: Backlog - Service Architecture
Resolution: Unresolved Votes: 1
Labels: sa-remove-fv-backlog-22
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
Assigned Teams:
Service Arch
Participants:

 Description   

whenAny is a function that takes in a vector of futures and returns a future that is resolved as soon as one of its inputs resolves. This function is currently used to create futures with timeouts. Since we anticipate this functionality being used quite often, create a free function which allows timeouts to be declared on Futures easily.


Generated at Thu Feb 08 05:32:29 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.