nested_pipe: Assign futures from different levels of the topology

%2%R Documentation

Assign futures from different levels of the topology

Description

Let's say you want to run a job on a node behind a gateway server, which would require doing two nested future plans. Instead of having to type out something like: x %<-% { y %<-% { 1 + 1 }; y}, you can now just type x %2% { 1 + 1 }, which will run 1 + 1 on the second layer of the future topology. Likewise, %3% will assign the expression when evaluated on the third level.

Usage

x %2% value

x %3% value

burchill/cs documentation built on May 28, 2023, 1:29 p.m.