compose

open suspend fun <V> compose(tile: Tile<V>): V(source)

Await the value of a Tile

Parameters

tile

the Tile to retrieve

Type Parameters

V

the type of the Tile return value


open suspend fun <K : Any, V> compose(tile: MultiTile<K, V>, keys: Collection<K>): Map<K, V>(source)

Await the value of a MultiTile

Parameters

tile

the MultiTile to retrieve

keys

the keys to be retrieved

Type Parameters

K

the type of the MultiTile keys

V

the type of the MultiTile return value


open suspend fun <K : Any, V> compose(tile: MultiTile<K, V>, key: K): V(source)

Await a single value from a MultiTile

Parameters

tile

the MultiTile to retrieve

key

the single key to be retrieved

Type Parameters

K

the type of the MultiTile keys

V

the type of the MultiTile return value