CoroutineDispatcher.dispatch
ignores the context
parameter.
#3354
Labels
docs
KDoc and API reference
CoroutineDispatcher.dispatch
ignores the context
parameter.
#3354
According to the link and source,
CoroutineDispatcher.dispatch
has the following behavior:But from what I've tested,
CoroutineDispatcher.dispatch
ignores thecontext
parameter.For example,
Click to toggle contents of `code`
The code above will return something like this:
However, according to the documentation, both method calls should output true.
The above tests used
org.jetbrains.kotlin:kotlin-stdlib-common:1.7.0
andorg.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.3
in JVM.The text was updated successfully, but these errors were encountered: