because the dispatcher doesn’t implement the Delay interface.
So we will have to implement the Deferred<Unit> (Generic is not available K/N) in to a custom dispatcher class?
Are there any examples to go about it?
s
svyatoslav.scherbina
04/02/2019, 6:09 AM
Thanks, I saw the closed issue about using
delay
caused
TypeCastException
but it is actually
IllegalStateException
because the dispatcher doesn’t implement the Delay interface.
Could you clarify, do you encounter
TypeCastException
or
IllegalStateException
?
So we will have to implement the Deferred<Unit> (Generic is not available K/N) in to a custom dispatcher class?