onWrite

abstract fun onWrite(action: T.(Data) -> Transformation)

Sets up a Transformation when a Data is written to a RemoteAttribute.

Parameters

action

the Transformation to apply when a Data has been written. Contains the Data that was written.