Open arbitrary-dev opened 5 years ago
Better to have a separate runnable for kanji downloading.
We could retrieve idx as part of JdicRunnable and wait until KanjiCachedRunnable completes without result and only then enque KanjiOnlineRunnable.
idx
JdicRunnable
KanjiCachedRunnable
KanjiOnlineRunnable
A good task to try out reactive programming
Better to have a separate runnable for kanji downloading.
We could retrieve
idx
as part ofJdicRunnable
and wait untilKanjiCachedRunnable
completes without result and only then enqueKanjiOnlineRunnable
.