示例#1
0
 public static BlockSearchState ReduceFetchDataResultAction(BlockSearchState state, BlockSearchResultAction action) =>
 new BlockSearchState(
     isLoading: false,
     blockResult: action.block,
     previousBlock: action.prevBlock,
     pageKey: action.key,
     maxHeight: action.maxHeight);
示例#2
0
 public static BlockSearchState ReduceFetchDataAction(BlockSearchState state, BlockSearchAction action) =>
 new BlockSearchState(
     isLoading: true,
     blockResult: null,
     previousBlock: null,
     pageKey: null,
     maxHeight: 0);