MultiSourceReduxPropertyBufferMixin<TState extends ReduxState> mixin

複数のStateをマージするためのHelper Class.

分割されたStateはBufferにキューイングされ、適切にマージされる. Actionを通じて実際のStateに反映される.

MultiSourceBufferPluginMultiSourceReduxAction を使用するとActionからアクセスでき、 分離したPropertyのマージを行うことができる.

Mixin Applications

Properties

hashCode int
The hash code for this object.
no setterinherited
isEmpty bool
バッファを持っていればtrue.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

merge(TState state) Stream<TState>
登録順を守り、キューが空になるまで順にマージするStreamを生成する. Stateの切り替わりをトレースする必要があるため、Stateのスキップ/フィルタリングは行わない.
mergeWithExecute(TState state, {required Stream<TState> execute(TState state)}) Stream<TState>
Stateの事前マージと事後マージを行う.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pop(TState state) → TState
Bufferにオブジェクトが存在すればマージして新たなStateを返却し、 そうでないなら state をそのまま返却する.
push<TProperty>(TProperty newProperty, {required TState merge(TState state, TProperty value)}) → void
未ハンドリングの新しいStateを追加する.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited