One issue I had with a custom context was that the kotlin built-in delay function fails silently if if the continuation interceptor doesn't implement Delay.
v
voddan
03/19/2017, 9:51 AM
Could you elaborate on that? Maybe in #coroutines
m
minikloon
03/20/2017, 2:03 AM
I mean the delay method in Delay.kt
http://i.imgur.com/chGCZUS.png▾
If the ContinuationInterceptor property of the context doesn't implement Delay, it just doesn't continue and doesn't say a word.
v
voddan
03/20/2017, 3:33 AM
Hm, does it fail silently? Because the code looks like it does something
m
minikloon
03/20/2017, 1:49 PM
Well it cancels the task and the continuation doesn't happen.