asType

inline fun <T> LiveQueryAction<JsonElement>.asType(): LiveQueryAction<T>

As type

Maps the live query to type T using decodeFromJsonElement

Return

The new live query action

Parameters

T

The new type