Package-level declarations

Types

Link copied to clipboard
class LiveQueryFlow<T>(flow: Flow<LiveQueryAction<T>>, val id: String, connection: Surreal) : Flow<LiveQueryAction<T>> , Closeable

Live query flow

Functions

Link copied to clipboard
inline suspend fun <T> Surreal.observeLiveQuery(table: String): LiveQueryFlow<T>

Observe live query

Link copied to clipboard
@JvmName(name = "observeJson")
suspend fun Surreal.observeLiveQueryAsJson(table: String): LiveQueryFlow<JsonElement>

Observe live query as json