FutureRpcContextResponse<T> extension

Future extensions for JsonRpcContextResponses.

on

Methods

optional() Future<T?>

Available on Future<JsonRpcContextResponse<T>>, provided by the FutureRpcContextResponse extension

Waits for this future to complete and returns its JsonRpcContextResult.value.
unwrap() Future<T>

Available on Future<JsonRpcContextResponse<T>>, provided by the FutureRpcContextResponse extension

Waits for this future to complete and returns its JsonRpcContextResult.value.