DeferredResponse

@HomeExperimentalApi
interface DeferredResponse<T : Any?>


Represents the response of a command which will be populated after the batch completes.

Summary

Public functions

T

Returns the response, or throws an error if called before the batch scope completes or if the command was not successful.

Public functions

getOrThrow

fun getOrThrow(): T

Returns the response, or throws an error if called before the batch scope completes or if the command was not successful.