pub async fn push_task<Args, B, Compact>(
task: Args,
storage: Arc<RwLock<B>>,
) -> Result<(), ApiError>where
Args: Serialize + DeserializeOwned + 'static,
B: TaskSink<Args> + Send + BackendExt,
B::Error: Error,
B::Codec: Codec<Args, Compact = Compact>,
<<B as BackendExt>::Codec as Codec<Args>>::Error: Error,Expand description
Push a new task to the specified queue.