Description Usage Arguments Value Examples
Wrap a stageRunnerNode callable with another callable.
1 | stageRunnerNode_around(other_node)
|
other_node |
stagerunner or stageRunnerNode. |
TRUE
or FALSE
according as the wrapping was
successful.
1 2 3 4 5 6 7 8 9 | ## Not run:
node1 <- stageRunnerNode(function(e) print(2))
node2 <- stageRunnerNode(function(e) { print(1); yield(); print(3); })
node1$around(node2)
node1$run() # Will print 1 2 3
# Notice the provided "yield" keyword, which allows calling the
# node that is being wrapped.
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.