Throws:
Throws:
Throws:
Throws:
Throws:
1 2 3 4 5 | interface Foo { void bar(); string baz(int a); } alias TFutureInterface!Foo FutureFoo; |
1 2 3 4 | interface FutureFoo { TFuture!void bar(TCancellation cancellation = null); TFuture!string baz(int a, TCancellation cancellation = null); } |
Parameters:
futures | The set of futures to collect results from. |
timeout | If positive, not yet finished futures will be cancelled and their results will not be taken into account. |
Throws:
Throws: