Create a simple valve in an iopipe chain.
auto auto simpleValve(Chain) (
This puts a transparent layer between the given chain and the next downstream iopipe to provide valve access. Calling valve on the resulting iopipe gives access to the chain argument passed in.
|chain||The upstream iopipe chain to provide valve access to.|
A new iopipe chain that provides a valve access point to the parameter.