Silly question, could coroutines help improve impl...
# coroutines
m
Silly question, could coroutines help improve implementation of observer pattern?
z
How so? They are not fundamentally related. Some coroutine utilities use the observer pattern (`Channel`s, `Job`s, `CompletableDeferred`s to name a few). And you can use coroutine tools (
suspendCoroutine
,
Flow
) to implement/adapt observers, but that’s not coroutine specific – libraries like RxJava do the same thing.