[ CCode ( cname = "dex_future_anyv" , has_construct_function = false ) ]
public Future.anyv (Future[] futures)
Creates a new [class@Dex.
Future] that resolves when the first future resolves.
If all futures reject, then the [class@Dex.Future] returned will also reject.
| futures |
an array of futures |
| n_futures |
the number of futures |
|
a [class@Dex.Future] |