CLOVIS
07/30/2024, 7:06 PM<http://Dispatchers.IO|Dispatchers.IO> is a DefaultIoSchduler . Are these just synonyms?
Does <http://Dispatchers.IO|Dispatchers.IO> + testScheduler make any sense?Oliver.O
07/30/2024, 7:35 PMdelay). (Just from the top of my head.)Oliver.O
07/30/2024, 7:42 PMTest dispatchers are parameterized with a scheduler. Several dispatchers can share the same scheduler, in which case their knowledge about the virtual time will be synchronized. When the dispatchers require scheduling an event at a later point in time, they notify the scheduler, which will establish the order of the tasks.
Oliver.O
07/30/2024, 7:44 PMDefaultIoScheduler doesn't fit into this concept. Why should IO have a different idea of time?Oliver.O
07/30/2024, 7:51 PMDefaultIoScheduler (which is a ExecutorCoroutineDispatcher) and others, the names "dispatcher" and "scheduler" are used interchangeably. Possibly something to clean up.Oliver.O
07/30/2024, 7:54 PM