Integration with Quasar. It supports invoking Quasar-instrumented suspendable code from within Kotlin coroutines via runSuspendable and invoking Kotlin suspending code from Quasar-instrumented code via runFiberBlocking.
Example
Invoke Quasar-instrumented suspendable code from Kotlin coroutine via runSuspendable:
runSuspendable(SuspendableCallable {
// Your suspendable code that will be instrumented by Quasar here
})
Invoke Kotlin suspending function from Quasar-instrumented suspendable code via runFiberBlocking:
runFiberBlocking {
// Your Kotlin suspending code here
}
Packages
Integration with Quasar. |