mutate

abstract val mutate: suspend MutationReceiver.(variable: S) -> T(source)

Suspending function to mutate the variable.

Receiver

MutationReceiver You can use a custom MutationReceiver within the mutate function.