1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/// Context enum to decided whether to apply or evaluate the signal.
/// A trait that specifies the input and output types of all signals, this generalises the
/// application of of the trait definitions allowing for a more flexible and generic approach.
/// Evaluates the input and returns the result without applying the value to the aggregation.
/// Applies the input to the aggregation and returns the result.
/// Returns the current value of the aggregation.
/// A trait for objects that can be executed, either peeking at the prospective result or
/// applying the value to the aggregation and returning the result.