observeLiveQuery

inline suspend fun <T> Surreal.observeLiveQuery(table: String): LiveQueryFlow<T>

Observe live query

Creates a LiveQueryFlow for the given table.

Return

A LiveQueryFlow of Ts

Parameters

T

The type of the records

table

Name of the table to 'LIVE SELECT' from