getSubject

abstract fun getSubject(subject: Subject): Flow<RecordEvent>(source)

Subscribes to the record at subject, emitting a RecordEvent for each field update.


abstract fun <T> getSubject(subject: Subject, type: KClass<T & Any>): Flow<Event<T>>(source)

Subscribes to the JSON record at subject, deserialising each update to type.