Skip to main content

chain_code_with

Function chain_code_with 

Source
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>,
) -> ChainCode
Expand 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).