| tcc_callback_async_drain | R Documentation |
Execute any pending async callbacks immediately on the main R thread. Normally callbacks fire automatically via R's event loop (input handler on POSIX, message pump on Windows), so explicit draining is only needed in test harnesses or tight batch loops that never yield to R's event loop.
tcc_callback_async_drain()
TCC-compiled C code running on the main thread can call
RC_callback_async_drain_c() directly instead of returning to R.
NULL (invisible)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.