is_async | R Documentation |
If fun
is not a function, an error is thrown.
is_async(fun)
fun |
Function. |
Currently, it checks for the async
attribute, which is set by
async()
.
Logical scalar, whether fun
is async.
f <- function(x) 42
af <- async(f)
is_async(f)
is_async(af)
f()
synchronise(dx <- af())
dx
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.