invoke

operator fun invoke(): DispatcherProvider

Default implementation of DispatcherProvider which simply delegates to the corresponding properties in the Dispatchers singleton.

This should be suitable for most production code.

Deprecated The DefaultDispatcherProvider class has been replaced with this singleton object. To create a DispatcherProvider with the default implementation, use the DispatcherProvider companion object factory. This function will be removed before the 1.0 release.

See also

Sources

Link copied to clipboard