Skip to main content

submit

Function submit 

Source
pub fn submit<T: OpCode + 'static>(op: T) -> Submit<T> 
Expand description

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

§Panics

This method doesn’t create runtime and will panic if it’s not within a runtime. It tries to obtain the current runtime by Runtime::with_current.