apply

abstract suspend fun apply(value: T): ProcessingParameterResult

Apply

Attempts to update the ProcessingParameter with the given value by updating all registered, out-of-date MimiParameterApplicator instances.

All updates to the MimiParameterApplicators must succeed for the apply operation to succeed and the ProcessingParameter.value to be updated.

If there are no registered MimiParameterApplicators, then the update will always succeed.

The operation will "fail fast" when encountering an error; it will not attempt to apply the update to the remaining MimiParameterApplicators.

The new value is applied to the Parameter in accordance with the deliveryMode.

Return

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

Parameters

value

The intended new value of the ProcessingParameter