format

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

Formats one option through the conversion supplied at construction.

The canonical member from the immutable option snapshot is passed to the conversion.

Return

display string produced synchronously on the state-owning thread.

Parameters

value

option equal to one member of values.

Throws

when called from a thread other than the creating thread.