Documentation / dataflow-async / com.femastudios.dataflow.async / TimeShiftedField
Go to reference
Go to reference
TimeShiftedField
interface TimeShiftedField<out T> : Field<T>
This interface represents a Field whose value is the value of another Field in a previous point in time.
Examples of time shifting are debouncing and delaying
See Also
Functions
synchronize |
Sets the value of this Field to the latest available value. abstract fun synchronize(): Unit |
Extension Functions
asAttribute |
Creates a new TimeShiftedAttribute using this as the field that contains the data. fun <T> TimeShiftedField<AttributeData<T>>.asAttribute(): TimeShiftedAttribute<T> |