en

Mark Murphy

Könyvek

Hangoskönyvek

Idézetek

b4777467766idézett2 évvel ezelőtt
Flows do not wind up on some other dispatcher by magic. Instead, they use the same dispatcher mechanism as we use for the rest of coroutines.
b4777467766idézett2 évvel ezelőtt
Another option is to use flowOn() to customize the Flow
b4777467766idézett2 évvel ezelőtt
Now, the lambda expression will run on Dispatchers.Default, but our collection of the results will be performed on Dispatchers.Main (courtesy of the launch() dispatcher).
fb2epub
Húzza és ejtse ide a fájljait (egyszerre maximum 5-öt)