gildor
03/07/2017, 2:54 PMMainThread
for my dispatcher because it self explaning for Android developers, and has the same semantics like CommonPool ("run coroutine in main thread” similar with "run coroutine in common pool”).
android.support.annotation.MainThread
is not so popular, but useful annotation.
And I think you are right that we should choose another name for dispatcher to avoid naming conflict
Probably UI
is the best candidate. It’s not so correct as MainThread
but very short and actually describes the most popular use case