MimiProcessingParameter
MimiProcessingParameter
A standard ProcessingParameter.
Important: This interface is not stable for inheritance, as new methods may be added, but is stable for use.
Since
5.0.0
Parameters
T
The parameter value type
Functions
Link copied to clipboard
abstract fun addApplicator( canApply: (value: T) -> Boolean, apply: suspend (value: T) -> Unit, applyTimeoutMillis: Long): MimiParameterApplicator
Content copied to clipboard
Adds an out-of-date MimiParameterApplicator to the ProcessingParameter.
abstract suspend fun addApplicator( value: T, canApply: (value: T) -> Boolean, apply: suspend (value: T) -> Unit, applyTimeoutMillis: Long): Pair<MimiParameterApplicator, ProcessingParameterResult>
Content copied to clipboard
Adds an already up-to-date MimiParameterApplicator to the ProcessingParameter and triggers a call to attempt to update all other MimiParameterApplicator with that value.
Link copied to clipboard
Apply
Link copied to clipboard
Synchronize
Properties
Link copied to clipboard
Defines how requests to update the ProcessingParameter value are performed.
Link copied to clipboard
The current value of the ProcessingParameter - it is the most recent successfully applied value.