multiTile
Creates a multi-value tile using a bulk provider. Present map entries succeed, including null for a nullable value type. Omitted requested keys fail individually with NoSuchElementException. A thrown provider failure fails unfinished keys in that physical invocation; successful outcomes remain cached.
Return
A new MultiTile instance
val UsersTile by multiTile<String, User> { userIds ->
userService.getUsers(userIds)
}Content copied to clipboard
Parameters
block
A suspending function that produces a map of values for the given keys
Type Parameters
K
The type of keys used to request values
V
The type of values this tile produces