mutate

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

Suspending function to mutate the variable.

Receiver

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