onRead

fun onRead(action: T.(Response) -> Transformation)

Sets up a Transformation when a Response is read from a RemoteAttribute.

Parameters

action

the Transformation to apply when a Response is received. Contains the Response that was read.