apply

abstract suspend fun apply(value: T): ProcessingParameterResult

Deprecated

Renamed to `applyValue` to avoid confusion with the Kotlin standard library's `apply` scope function.

Replace with

applyValue(value)

Attempts to update the connected Processing system with the given value by updating the Applicator via the registered Applicator function.

The update to the Applicator must succeed for the operation to succeed and the MimiProcessingParameter.value to be updated.

Return

A ProcessingParameterResult indicating either the ProcessingParameterResult.Success or ProcessingParameterResult.Failure of the operation.

Parameters

value

The intended new value of the MimiProcessingParameter