(
&self,
name: String,
callback: impl FnOnce(&super::ReducerEventContext, Result<Result<(), String>, __sdk::InternalError>)
+ Send
+ 'static,
)
| 53 | |
| 54 | impl add for super::RemoteReducers { |
| 55 | fn add_then( |
| 56 | &self, |
| 57 | name: String, |
| 58 | |
| 59 | callback: impl FnOnce(&super::ReducerEventContext, Result<Result<(), String>, __sdk::InternalError>) |
| 60 | + Send |
| 61 | + 'static, |
| 62 | ) -> __sdk::Result<()> { |
| 63 | self.imp.invoke_reducer_with_callback(AddArgs { name }, callback) |
| 64 | } |
| 65 | } |
no test coverage detected