pub fn wait_for(&self, filter: JsonValue, result: &str) -> TonResult<Value> {
        let result: SingleResult = Interop::json_request(self.context, "queries.wait.for", ParamsOfSubscribe {
            table: self.name.to_owned(),
            filter: filter.to_string(),
            result: result.to_owned()
        })?;
        Ok(result.result)
    }
/// Wait for appearance of an object satisfying conditions described by `filter`.
/// If such an object already exists it is returned immediately.
/// In case of several objects satisfying provided conditions exists first founded object returned.
Wait for appearance of an object satisfying conditions described by `filter`.
If such an object already exists it is returned immediately.
In case of several objects satisfying provided conditions exists first founded object returned.
Wait for appearance of an object satisfying conditions described by ` filter ` . If such an object already exists it is returned immediately . In case of several objects satisfying provided conditions exists first founded object returned .
pub fn wait_for(&self, filter: JsonValue, result: &str) -> TonResult<Value> {
        let result: SingleResult = Interop::json_request(self.context, "queries.wait.for", ParamsOfSubscribe {
            table: self.name.to_owned(),
            filter: filter.to_string(),
            result: result.to_owned()
        })?;
        Ok(result.result)
    }
pub fn wait_for ( & self , filter : JsonValue , result : & str ) -> TonResult < Value > { let result : SingleResult = Interop :: json_request ( self . context , " " , ParamsOfSubscribe { table : self . name . to_owned ( ) , filter : filter . to_string ( ) , result : result . to_owned ( ) } ) ? ; Ok ( result . result ) }
Wait for appearance of an object satisfying conditions described by `filter`.
Wait for appearance of an object satisfying conditions described by ` filter ` .
&self
filter
JsonValue
result
&str