pub(crate) fn chain_code_with(
krate: &TokenStream,
fresh: &BTreeMap<String, (Ident, TokenStream)>,
members: &[&Node],
needed: &BTreeSet<String>,
k: usize,
extra: &[(Ident, bool)],
progress: Option<&Ident>,
) -> ChainCodeExpand description
chain_code, optionally storing the index of the member about to run in the atomic
progress (synchronous code: a panic is replayed at the member that raised it).