Companion

object Companion

Contains the inlined version of the Aggregate.exchange, Aggregate.exchanging, Aggregate.neighboring functions.

Functions

Link copied to clipboard

Inline access to the data serialization method of an Aggregate. This method is used to avoid building serializers for in-memory-only contexts.

Link copied to clipboard
inline fun <ID : Any, Initial> Aggregate<ID>.exchange(initial: Initial, noinline body: (Field<ID, Initial>) -> Field<ID, Initial>): Field<ID, Initial>

Inlined version of the Aggregate.exchange function.

Link copied to clipboard
inline fun <ID : Any, Initial, Return> Aggregate<ID>.exchanging(initial: Initial, noinline body: YieldingScope<Field<ID, Initial>, Field<ID, Return>>): Field<ID, Return>

Inlined version of the Aggregate.exchanging function.

Link copied to clipboard
inline fun <ID : Any, Scalar> Aggregate<ID>.neighboring(local: Scalar): Field<ID, Scalar>

Inlined version of the Aggregate.neighboring function.