Package-level declarations
Types
Class holding reference to the Application running Kaluga set applicationContext to your Application so default constructors work with the proper Context
Wrapper for the iOS OS Version
The thread of execution
The thread of execution
The thread of execution
The thread of execution On JavaScript there is only one thread, so everything is the main thread
The thread of execution
The thread of execution. On Kotlin/Wasm there is only one thread, so everything is the main thread.
Functions
Runs a new coroutine and blocks the current thread interruptibly until its completion. This function should not be used from a coroutine. It is designed to bridge regular blocking code to libraries that are written in suspending style, to be used in main functions and in tests.
Runs a new coroutine and blocks the current thread interruptibly until its completion. This function should not be used from a coroutine. It is designed to bridge regular blocking code to libraries that are written in suspending style, to be used in main functions and in tests.
Runs a new coroutine and blocks the current thread interruptibly until its completion. This function should not be used from a coroutine. It is designed to bridge regular blocking code to libraries that are written in suspending style, to be used in main functions and in tests.
Runs a new coroutine and blocks the current thread interruptibly until its completion. This function should not be used from a coroutine. It is designed to bridge regular blocking code to libraries that are written in suspending style, to be used in main functions and in tests.
Runs a new coroutine. The JS family (js + wasmJs) is single-threaded and cannot block, so block is launched on GlobalScope and the (not-yet-completed) kotlinx.coroutines.Deferred is returned cast to T — i.e. this does not actually block. Suitable only for fire-and-forget bridging such as com.splendo.kaluga.base.state.KalugaState.peekState; to drive suspending tests use the TestResult-returning runner in test-utils-base instead.
Creates a coroutine execution context using a single thread.
Creates a coroutine execution context using a single thread.
Creates a coroutine execution context using a single thread.
Creates a coroutine execution context using a single thread. Since JavaScript does not have threading support, this will just return Dispatchers.Default
Creates a coroutine execution context using a single thread.
Kotlin/Wasm has no threading, so this returns Dispatchers.Default.
Creates a coroutine execution context using a thread pool.
Creates a coroutine execution context using a thread pool.
Creates a coroutine execution context using a thread pool.
Creates a coroutine execution context using a thread pool. Since JavaScript does not have threading support, this will just return Dispatchers.Default
Creates a coroutine execution context using a thread pool.
Kotlin/Wasm has no threading, so this returns Dispatchers.Default.