Skip to content

Commit

Permalink
Merge pull request #8032 from jasongrout/futuredone
Browse files Browse the repository at this point in the history
Make IFuture done typings more correct
  • Loading branch information
jasongrout committed Mar 12, 2020
2 parents 83d8388 + 2f18043 commit a29398a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions packages/services/src/kernel/kernel.ts
Expand Up @@ -685,10 +685,9 @@ export interface IFuture<
* The future is done when there are no more responses expected from the
* kernel.
*
* The `done` promise resolves to the reply message if there is one,
* otherwise it resolves to `undefined`.
* The `done` promise resolves to the reply message.
*/
readonly done: Promise<REPLY | undefined>;
readonly done: Promise<REPLY>;

/**
* The reply handler for the kernel future.
Expand Down

0 comments on commit a29398a

Please sign in to comment.