Skip to content

Commit 6323878

Browse files
committed
We removed update whoops
1 parent a87b7ca commit 6323878

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

crates/bindings/src/lib.rs

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -534,14 +534,6 @@ pub use spacetimedb_bindings_macro::table;
534534
/// If an error occurs in the disconnect reducer,
535535
/// the client is still recorded as disconnected.
536536
///
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-
///
545537
/// # Scheduled reducers
546538
///
547539
/// In addition to life cycle annotations, reducers can be made **scheduled**.
@@ -694,8 +686,8 @@ pub struct ReducerContext {
694686
/// `None` if no `ConnectionId` was supplied to the `/database/call` HTTP endpoint,
695687
/// or via the CLI's `spacetime call` subcommand.
696688
///
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`.
699691
pub connection_id: Option<ConnectionId>,
700692

701693
/// Allows accessing the local database attached to a module.

0 commit comments

Comments
 (0)