commit_call_with_async_and_callback

Function commit_call_with_async_and_callback 

Source
pub fn commit_call_with_async_and_callback<F>(
    tx_input: TxInput,
    state: &mut BlockchainStateRef,
    runtime: &RuntimeRef,
    f: F,
) -> TxResult
Expand description

Executes transaction and commits changes back to the underlying blockchain state.

Then executes all asyncs recursively, and commits them as well.