map

fun <R> map(transform: (LiveQueryAction<T>) -> LiveQueryAction<R>): LiveQueryFlow<R>

Map

Used to map the records of the live query flow form T to R.

Receiver

The live query flow to map

Return

A new live query flow of Rs

Parameters

R

The type of the records in the new flow

transform

The transform function from T to R