W3cubDocs

/Kotlin

Continuation1

Platform and version requirements: Native (1.3)
class Continuation1<T1> : (T1) -> Unit

Constructors

Platform and version requirements: Native (1.3)

<init>

Continuation1(
    block: (p1: T1) -> Unit, 
    invoker: CPointer<CFunction<(COpaquePointer?) -> Unit>>, 
    singleShot: Boolean = false)

Functions

Platform and version requirements: Native (1.3)

dispose

fun dispose()
Platform and version requirements: Native (1.3)

invoke

operator fun invoke(p1: T1)

© 2010–2020 JetBrains s.r.o. and Kotlin Programming Language contributors
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.native.concurrent/-continuation1/index.html