Singularity API (multiplatformx-api)
/
org.brightify.hyperdrive.multiplatformx.util
/
AsyncQueue
Async
Queue
class
AsyncQueue
<
T
>(overflowPolicy:
AsyncQueue.OverflowPolicy
, lifecycle:
Lifecycle
, action: suspend (
T
) ->
Unit
)
Content copied to clipboard
Types
Functions
Types
OverflowPolicy
Link copied to clipboard
enum
OverflowPolicy
:
Enum
<
AsyncQueue.OverflowPolicy
>
Content copied to clipboard
Functions
awaitIdle
Link copied to clipboard
suspend fun
awaitIdle
()
Content copied to clipboard
push
Link copied to clipboard
fun
push
(next:
T
)
Content copied to clipboard