MultiSourceReduxAction<TState extends ReduxState> class abstract

複数のStateを統合して1つのStateを構築する際のサポートを行うReduxAction.

NOTE. MultiSourceReduxPropertyBufferMixin オブジェクトはコンストラクタとして与えるか、 もしくはPluginとして登録されている必要がある.

Inheritance

Constructors

MultiSourceReduxAction({MultiSourceReduxPropertyBufferMixin<TState>? buffer})
MultiSourceReduxAction.merge({MultiSourceReduxPropertyBufferMixin<TState>? buffer})
マージを行うだけのActionを生成する.
factory
MultiSourceReduxAction.update({MultiSourceReduxPropertyBufferMixin<TState>? buffer, Stream<TState> onPreExecute(TState state)?, required Stream<TState> onExecute(TState state), Stream<TState> onPostExecute(TState state)?})
ReduxStore更新処理を生成する.
factory

Properties

buffer MultiSourceReduxPropertyBufferMixin<TState>
Sourceバッファへアクセスする.
no setter
done bool
実行完了していればtrue.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
store ReduxStore<TState>
実行対象のStoreを取得する.
no setterinherited

Methods

execute(TState state) Stream<TState>
override
interrupt(ReduxAction<TState> action, TState state) Stream<TState>
Action内で別なActionを割り込み実行する. 他のActionを使い回すなどの利用方法がある. ただし、引数 action は使用済みとなるため、再利用はできない.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onExecute(TState state) Stream<TState>
メイン処理
onPostExecute(TState state) Stream<TState>
事後処理
onPostMerge(TState state) Future
事後統合処理進捗
onPreExecute(TState state) Stream<TState>
事前処理
onPreMerge(TState state) Future
事前統合処理進捗
toString() String
A string representation of this object.
inherited

Operators

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