I want to await a future for at least a second. However, the future can finish quite quickly, what method can I use to await the longer of 2 futures? Something like Future.any but the other way around.
Thank you!
I want to await a future for at least a second. However, the future can finish quite quickly, what method can I use to await the longer of 2 futures? Something like Future.any but the other way around.
Thank you!