update

abstract suspend fun update(transform: (ShellSettings) -> ShellSettings)(source)

Replaces the settings with transform applied to the current ones, atomically.