toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge-core
/
korlibs.io.async
/
AsyncThread
Async
Thread
class
AsyncThread
:
AsyncInvokable
Members
Constructors
Async
Thread
Link copied to clipboard
constructor
(
)
Functions
await
Link copied to clipboard
suspend
fun
await
(
)
cancel
Link copied to clipboard
fun
cancel
(
)
:
AsyncThread
cancel
And
Queue
Link copied to clipboard
suspend
fun
<
T
>
cancelAndQueue
(
func
:
suspend
(
)
->
T
)
:
T
invoke
Link copied to clipboard
open
suspend operator override
fun
<
T
>
invoke
(
func
:
suspend
(
)
->
T
)
:
T
queue
Link copied to clipboard
suspend
fun
<
T
>
queue
(
func
:
suspend
(
)
->
T
)
:
T
sync
Link copied to clipboard
suspend
fun
<
T
>
sync
(
func
:
suspend
(
)
->
T
)
:
Deferred
<
T
>
fun
<
T
>
sync
(
context
:
CoroutineContext
,
func
:
suspend
(
)
->
T
)
:
Deferred
<
T
>