(
&self,
reducer: &str,
args: &sats::ProductValue,
)
| 99 | } |
| 100 | |
| 101 | pub async fn call_reducer_binary_result( |
| 102 | &self, |
| 103 | reducer: &str, |
| 104 | args: &sats::ProductValue, |
| 105 | ) -> anyhow::Result<ReducerCallResult> { |
| 106 | let args = bsatn::to_vec(&args).unwrap(); |
| 107 | self.call_reducer_result(reducer, FunctionArgs::Bsatn(args.into())) |
| 108 | .await |
| 109 | } |
| 110 | |
| 111 | pub async fn send(&self, message: impl Into<DataMessage>) -> anyhow::Result<()> { |
| 112 | let timer = Instant::now(); |
no test coverage detected