unresolved | R Documentation |
Query whether a mirai or mirai value remains unresolved. Unlike
call_mirai
, this function does not wait for completion.
unresolved(aio)
aio |
a 'mirai' object or 'mirai' value stored at |
Suitable for use in control flow statements such as while
or
if
.
Note: querying resolution may cause a previously unresolved 'mirai' to resolve.
Logical TRUE if 'aio' is an unresolved mirai or mirai value, or FALSE otherwise.
if (interactive()) {
# Only run examples in interactive R sessions
m <- mirai(Sys.sleep(0.1))
unresolved(m)
Sys.sleep(0.3)
unresolved(m)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.