Skip to content
Branch: master
Find file History
qwwdfsad Introduce test module with testable main dispatcher (#749)
Introduce kotlinx-coroutines-test module with API to set Dispatchers.Main 

  * Dispatchers.setMain and Dispatchers.resetMain extensions
  * Use real factory in HandlerDispatcher instead of using initialized-once statics (prevent ExceptionInInitializerError)
  * Improve MissingCoroutineDispatcher diagnostic
  * Do not cache failed results in test dispatcher to allow reusing it between tests 
  * Deprecate HandlerDispatcher.Main (was accessible only fom Java API)

Fixes #746
Fixed #810
Latest commit 4327b21 Dec 17, 2018

README.md

Module kotlinx-coroutines-swing

Provides Dispatchers.Swing context and Dispatchers.Main implementation for Swing UI applications.

Read Guide to UI programming with coroutines for tutorial on this module.

Package kotlinx.coroutines.swing

Provides Dispatchers.Swing context and Dispatchers.Main implementation for Swing UI applications.

You can’t perform that action at this time.