Automatically reduce `Promise<RemotePromise<T>>` -> `RemotePromise<T>`.
Just like `Promise<Promise<T>>` reduces to `Promise<T>`, we should be able to reduce `Promise<RemotePromise<T>>`. Moreover, this reduction should support pipelining, hence the reduced type should itself be `RemotePromise<T>`. Fixes #341
Showing
Please
register
or
sign in
to comment