stopAsync

fun stopAsync(onStopped: () -> Unit)

Stop the process asynchronously.

Parameters

onStopped

Called when the stopping is finished.