WriteBuilder

sealed interface WriteBuilder<T, Data, Transformation>

Builder for setting up binding to an object T so that it may be changed when writing Data to a RemoteAttribute.

Inheritors

Types

Link copied to clipboard

A WriteBuilder that mutates the object when writing Data to a RemoteAttribute.

Link copied to clipboard

A WriteBuilder that does not mutate the object when writing Data to a RemoteAttribute.

Functions

Link copied to clipboard

Sets up a Transformation when failing to write Data to a RemoteAttribute.

Link copied to clipboard
abstract fun onWrite(action: T.(Data) -> Transformation)

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