@@ -534,14 +534,6 @@ pub use spacetimedb_bindings_macro::table;
534
534
/// If an error occurs in the disconnect reducer,
535
535
/// the client is still recorded as disconnected.
536
536
///
537
- /// ### The `update` reducer
538
- ///
539
- /// This reducer is marked with `#[spacetimedb::reducer(update)]`. It is run when the module is updated,
540
- /// i.e., when publishing a module for a database that has already been initialized.
541
- ///
542
- /// If an error occurs when updating, the module will not be published,
543
- /// and the previous version of the module attached to the database will continue executing.
544
- ///
545
537
/// # Scheduled reducers
546
538
///
547
539
/// In addition to life cycle annotations, reducers can be made **scheduled**.
@@ -694,8 +686,8 @@ pub struct ReducerContext {
694
686
/// `None` if no `ConnectionId` was supplied to the `/database/call` HTTP endpoint,
695
687
/// or via the CLI's `spacetime call` subcommand.
696
688
///
697
- /// For automatic reducers, i.e. `init`, `update` and scheduled reducers,
698
- /// this will be the module's `Address `.
689
+ /// For automatic reducers, i.e. `init`, `client_connected`, `client_disconnected`, and scheduled reducers,
690
+ /// this will be the module's `ConnectionId `.
699
691
pub connection_id : Option < ConnectionId > ,
700
692
701
693
/// Allows accessing the local database attached to a module.
0 commit comments