Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

비동기 처리 리팩토링 #4

Open
turastory opened this issue May 12, 2019 · 0 comments
Open

비동기 처리 리팩토링 #4

turastory opened this issue May 12, 2019 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@turastory
Copy link
Member

Thread를 직접 다루는 것은 도중 cancel 등의 작업이 불가능하기 때문에 바람직하지 않습니다.

Java의 Callable, Future를 이용하거나 Android의 Handler, Kotlin의 Coroutine, 혹은 RxJava 등을 이용해서 좀 더 바람직하게 처리할 수 있습니다.

RxJava는 비동기 처리를 위해서 사용하기에는 너무 과하다고 생각하고, 요즘 핫한 Coroutine을 사용해서 비동기 처리를 하는 게 좋을 것 같습니다.

@turastory turastory added the enhancement New feature or request label May 12, 2019
@turastory turastory self-assigned this May 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant