Creates an interface that is similar to a given one, but accepts an additional, optional TCancellation parameter each method, and returns TFutures instead of plain return values.
For example, given the following declarations:
interface Foo { void bar(); string baz(int a); } alias TFutureInterface!Foo FutureFoo;
FutureFoo would be equivalent to:
interface FutureFoo { TFuture!void bar(TCancellation cancellation = null); TFuture!string baz(int a, TCancellation cancellation = null); }
See Implementation
Creates an interface that is similar to a given one, but accepts an additional, optional TCancellation parameter each method, and returns TFutures instead of plain return values.
For example, given the following declarations:
FutureFoo would be equivalent to: