runInContextAsync

abstract fun runInContextAsync(runnable: Runnable): CompletableFuture<Void?>

Runs the runnable in the context of the OpenAL audio device.

Return

A CompletableFuture that completes when the operation is done.

Parameters

runnable

The runnable to run in the device's context.