HttpPromise.succeed
void succeed(T value)Completes the promise successfully.
Parameters
value | The result value to deliver to the future. |
Throws
HttpException when the promise is invalid or already completed.
void succeed(T value)Completes the promise successfully.
value | The result value to deliver to the future. |