AsyncResult

expect class AsyncResult<T>

Author

Colton Daily

actual class AsyncResult<T>

Author

Colton Daily

actual class AsyncResult<T>

Author

Colton Daily

Constructors

Link copied to clipboard
fun <T> AsyncResult(result: T)
Link copied to clipboard
fun <T> AsyncResult(future: <Error class: unknown class><T>)

Functions

Link copied to clipboard
expect fun get(): T
actual fun get(): T
actual fun get(): T

Properties

Link copied to clipboard
expect val isDone: Boolean
actual val isDone: Boolean = true
actual val isDone: Boolean