Skip to main content

submit_with_extra

Function submit_with_extra 

Source
pub fn submit_with_extra<T: OpCode + 'static>(op: T) -> Submit<T, Extra> 
👎Deprecated since 0.8.0: use submit(op).with_extra() instead
Expand description

Submit an operation to the current runtime, and return a future for it with flags.

§Panics

This method doesn’t create runtime. It tries to obtain the current runtime by Runtime::with_current.