Created
May 28, 2020 12:19
-
-
Save O-O-wl/677250059421732330050204ce87600b to your computer and use it in GitHub Desktop.
reduce2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func reduce(_ action: Action) -> Observable<State> { | |
// API 요청 | |
// API 응답 값과 currentState(인자가 아닌 프로퍼티)를 수정한 newState 생성 | |
// newState 반환 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment