All Types

com.femastudios.dataflow.async.Attribute

An Attribute is an object that holds either Loaded value (of type T), a Loading state, or an Error state. These states are all represented by a the sealed class AttributeData.

com.femastudios.dataflow.async.AttributeData

This class represents the content of an Attribute. It is empty and cannot be directly instantiated. This is a sealed class, that has only to descendants: Loaded and NotLoaded.

com.femastudios.dataflow.async.AttributeWrapper

This special implementation of Attribute works similarly to a FieldWrapper, but for attributes.

(extensions in package com.femastudios.dataflow.async.extensions)
java.math.BigDecimal
(extensions in package com.femastudios.dataflow.async.extensions)
java.math.BigInteger
(extensions in package com.femastudios.dataflow.async.extensions)
kotlin.Boolean
(extensions in package com.femastudios.dataflow.async.extensions)
kotlin.Byte
(extensions in package com.femastudios.dataflow.async.extensions)
kotlin.Char
(extensions in package com.femastudios.dataflow.async.extensions)
kotlin.text.CharCategory
(extensions in package com.femastudios.dataflow.async.extensions)
kotlin.ranges.CharProgression
(extensions in package com.femastudios.dataflow.async.extensions)
kotlin.ranges.ClosedFloatingPointRange
(extensions in package com.femastudios.dataflow.async.extensions)
kotlin.ranges.ClosedRange
(extensions in package com.femastudios.dataflow.async.extensions)
kotlin.collections.Collection
(extensions in package com.femastudios.dataflow.async.extensions)
kotlin.Comparable
(extensions in package com.femastudios.dataflow.async.extensions)
kotlin.Double
com.femastudios.dataflow.async.Error

This class is one of the extensions of the NotLoaded status, and is used to represent a data whose loading di not succeed. It contains some data that can help inform the user. The class is open and can be extended to add custom data.

(extensions in package com.femastudios.dataflow.async.util)
com.femastudios.dataflow.Field
(extensions in package com.femastudios.dataflow.async.extensions)
kotlin.Float
com.femastudios.dataflow.async.FlowException

Exception that must be thrown only from a WorkContext when calculating an attribute.

com.femastudios.dataflow.async.FlowStrategy

This sealed enum-like class defines how the AttributeData of an attribute is calculated.

(extensions in package com.femastudios.dataflow.async.extensions)
kotlin.collections.Grouping
(extensions in package com.femastudios.dataflow.async.extensions)
kotlin.Int
(extensions in package com.femastudios.dataflow.async.extensions)
kotlin.ranges.IntProgression
(extensions in package com.femastudios.dataflow.async.extensions)
kotlin.collections.Iterable
(extensions in package com.femastudios.dataflow.async.util)
com.femastudios.dataflow.listen.LifecycleOwner
(extensions in package com.femastudios.dataflow.async.extensions)
kotlin.collections.List
com.femastudios.dataflow.async.Loaded

This class is one of the extensions of AttributeData and is used to represent a loaded state.

com.femastudios.dataflow.async.Loading

This class is one of the extensions of the NotLoaded status, and is used to represent a data that is loading. The class is open and can be extended to add custom data.

(extensions in package com.femastudios.dataflow.async.extensions)
kotlin.Long
(extensions in package com.femastudios.dataflow.async.extensions)
kotlin.ranges.LongProgression
(extensions in package com.femastudios.dataflow.async.extensions)
kotlin.collections.Map
(extensions in package com.femastudios.dataflow.async.extensions)
kotlin.text.MatchGroupCollection
(extensions in package com.femastudios.dataflow.async.extensions)
kotlin.text.MatchNamedGroupCollection
com.femastudios.dataflow.async.NotLoaded

This class is one of the extensions of AttributeData and is used to represent any state that is not loaded. This is also a sealed class and cannot be directly instantiated. The only two descendants are Error and Loading.

com.femastudios.dataflow.async.RecomputableAttribute

A special implementation of Attribute that knows how its value was calculated and therefore is able to recompute its value upon request (using the recompute function).

(extensions in package com.femastudios.dataflow.async.extensions)
kotlin.text.Regex
(extensions in package com.femastudios.dataflow.async.extensions)
kotlin.sequences.Sequence
(extensions in package com.femastudios.dataflow.async.extensions)
kotlin.collections.Set
(extensions in package com.femastudios.dataflow.async.extensions)
kotlin.Short
(extensions in package com.femastudios.dataflow.async.extensions)
kotlin.String
com.femastudios.dataflow.async.TimeShiftedAttribute

This interface represents a Attribute whose value is the value of another Attribute in a previous point in time.

com.femastudios.dataflow.async.TimeShiftedField

This interface represents a Field whose value is the value of another Field in a previous point in time.

com.femastudios.dataflow.async.WeakWorstStatusWrapper

This Field contains the worst status between all the provided attributes.

com.femastudios.dataflow.async.WorkContext

This class is the receiver of any attribute computation. It provides a way to set the attribute state to something other than Loaded.