Skip to content

Instantly share code, notes, and snippets.

@O-O-wl
Created May 28, 2020 12:19
Show Gist options
  • Save O-O-wl/677250059421732330050204ce87600b to your computer and use it in GitHub Desktop.
Save O-O-wl/677250059421732330050204ce87600b to your computer and use it in GitHub Desktop.
reduce2
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