MimiProcessingParameter

Important: This interface is not stable for inheritance, as new methods may be added, but is stable for use.

Originally defined in MSDK 5.0.0, significant breaking changes were made in MSDK 10.0.0.

Since

10.0.0

Parameters

T

The parameter value type

Properties

Link copied to clipboard
abstract val value: T

The current value of the MimiProcessingParameter - it is the most recent successfully applied value.

Functions

Link copied to clipboard
abstract fun addApplicator(applyTimeout: Duration, apply: suspend (value: T) -> MimiApplicatorResult): MimiParameterApplicator
Link copied to clipboard
abstract suspend fun apply(value: T): ProcessingParameterResult

Apply

Link copied to clipboard
abstract suspend fun load(): ProcessingParameterResult

Triggers the asynchronous updating of the MimiProcessingParameter value from an asynchronous data source.

Link copied to clipboard
abstract suspend fun observe(tag: String? = null, observer: (ProcessingParameterState<T>) -> Unit)

Observes updates indicating the current state of the MimiProcessingParameter.

Link copied to clipboard

SynchronizeApplicators