Request that the remote module invoke the reducer `add` to run as soon as possible. This method returns immediately, and errors only if we are unable to send the request. The reducer will run asynchronously in the future, and this method provides no way to listen for its completion status. /// Use [`add:add_then`] to run a callback after the reducer completes.
(&self, name: String)
| 32 | /// and this method provides no way to listen for its completion status. |
| 33 | /// /// Use [`add:add_then`] to run a callback after the reducer completes. |
| 34 | fn add(&self, name: String) -> __sdk::Result<()> { |
| 35 | self.add_then(name, |_, _| {}) |
| 36 | } |
| 37 | |
| 38 | /// Request that the remote module invoke the reducer `add` to run as soon as possible, |
| 39 | /// registering `callback` to run when we are notified that the reducer completed. |
nothing calls this directly
no test coverage detected