Package-level declarations

Types

Link copied to clipboard
interface KtThread

Represents a unified native thread.

Functions

Link copied to clipboard

Returns current thread representation.

Returns KtThread depending on NSThread.currentThread from Apple Foundation Framework.

Returns constant JsMainThread.

Returns KtThread depending on Thread.currentThread from Java Standard Library.

Returns KtThread depending on pthread_self from POSIX.

Returns KtThread depending on GetCurrentThreadId from Windows API.

Properties

Link copied to clipboard

KtThread representation of JS main thread.

Link copied to clipboard

Holds a middleware that ensures single-threaded usage of the dispatch. Actions should be dispatched with thread that created this middleware (main thread preferably).