Package-level declarations

Types

Link copied to clipboard
@ThreadSafe
class LiveList<T> : MutableList<T>

Like LiveVar, but for lists.

Link copied to clipboard
@ThreadSafe
class LiveMap<K, V> : MutableMap<K, V>

Like LiveVar, but for maps.

Link copied to clipboard
@ThreadSafe
class LiveSet<T> : MutableSet<T>

Like LiveVar, but for sets.

Functions

Link copied to clipboard
fun <T> Session.liveListOf(vararg elements: T): LiveList<T>

Create a LiveList whose scope is tied to this session.

inline fun <T> Session.liveListOf(elements: Iterable<T>): LiveList<T>
Link copied to clipboard
fun <K, V> Session.liveMapOf(vararg elements: Pair<K, V>): LiveMap<K, V>

Create a LiveMap whose scope is tied to this session.

fun <K, V> Session.liveMapOf(elements: Iterable<Pair<K, V>>): LiveMap<K, V>
Link copied to clipboard
fun <T> Session.liveSetOf(vararg elements: T): LiveSet<T>

Create a LiveSet whose scope is tied to this session.

inline fun <T> Session.liveSetOf(elements: Iterable<T>): LiveSet<T>