GPURequestCallback


interface GPURequestCallback<T : Any?>


A generic callback interface for asynchronous GPU requests.

Parameters
<T : Any?>

The type of the successful result object.

Summary

Public functions

Unit
onError(exception: Exception)
Unit
onResult(result: T)

Public functions

onError

Added in 1.0.0-alpha03
fun onError(exception: Exception): Unit

onResult

Added in 1.0.0-alpha03
fun onResult(result: T): Unit