PendingAsyncCall

expect class PendingAsyncCall : Resource

PendingAsyncCall represents a simple handle type to cancel the delivery of the asynchronous D-Bus call result to the application.

The handle is lifetime-independent from the originating Proxy object. It's safe to call its methods even after the Proxy has gone.

actual class PendingAsyncCall : Resource

Functions

Link copied to clipboard
expect fun isPending(): Boolean

Answers whether the asynchronous call is still pending

actual fun isPending(): Boolean

Answers whether the asynchronous call is still pending

Link copied to clipboard
expect open override fun release()

Cancels the delivery of the pending asynchronous call result

actual open override fun release()

Cancels the delivery of the pending asynchronous call result