Winson Chiu
10/27/2025, 8:12 PMrunTest workaround for withTimeout using withContext(Dispatchers.Default.limitedParallelism(1)), but is there a workaround for Flow.timeout? I can flowOn, but I'd rather not force my entire Flow to a specific dispatcher if possible.Dmitry Khalanskiy [JB]
10/28/2025, 8:12 AMflowOn(dispatcher), then timeout will use the dispatcher in which collect is called. Collecting inside this withContext should typically work. If it doesn't, please share your code (or a simplified version of it).