Function near_sdk::env::promise_then

source ·
pub fn promise_then(
    promise_idx: PromiseIndex,
    account_id: AccountId,
    function_name: &str,
    arguments: &[u8],
    amount: NearToken,
    gas: Gas
) -> PromiseIndex
Expand description

Attaches the callback that is executed after promise pointed by promise_idx is complete.