Function gstd::msg::send_for_reply

source ·
pub fn send_for_reply<E: Encode>(
    program: ActorId,
    payload: E,
    value: u128,
    reply_deposit: u64
) -> Result<MessageFuture>
Expand description

Same as send, but the program will interrupt until the reply is received.

Argument reply_deposit: u64 used to provide gas for future reply handling (skipped if zero).

§See also