asCoroutineDispatcher

Converts an instance of Scheduler to an implementation of CoroutineDispatcher and provides native support of delay and withTimeout.