gstd::msg

Function send_input_for_reply

Source
pub fn send_input_for_reply(
    program: ActorId,
    value: u128,
    range: impl RangeBounds<usize>,
    reply_deposit: u64,
) -> Result<MessageFuture>
Expand description

Same as send_input, 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