format

fun format(value: T): String(source)

Formats one option through the conversion supplied at construction.

The canonical member from the read-only option snapshot is passed to the conversion.

Return

display string produced synchronously under the state's execution owner.

Parameters

value

option equal to one member of CycleButtonState.values.

Throws

when called from another execution owner.