Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/clockworklabs/SpacetimeDB
/ functions
Functions
27,764 in github.com/clockworklabs/SpacetimeDB
⨍
Functions
27,764
◇
Types & classes
9,245
Function
onDisconnect
( ctx: ErrorContextInterface<RemoteModuleOf<DbConnection>> )
crates/bindings-typescript/src/svelte/SpacetimeDBProvider.ts:53
Function
onDisconnect
()
crates/bindings-typescript/test-react-router-app/src/main.tsx:15
Method
onDisconnect
* Registers a callback to run when a {@link DbConnection} whose connection initially succeeded * is disconnected, either after a {@link DbConnectio
crates/bindings-typescript/src/sdk/db_connection_builder.ts:231
Method
onDisconnect
( cb: (ctx: ErrorContextInterface, error?: Error) => void )
crates/bindings-typescript/tests/connection_manager_reconnect.test.ts:145
Function
onEntityUpdated
(entity: Entity)
demo/Blackholio/client-ts/src/game/EntityController.ts:36
Function
onInsert
( ctx: EventContextInterface<UntypedRemoteModule>, row: any )
crates/bindings-typescript/src/react/useTable.ts:155
Function
onInsert
( ctx: EventContextInterface<UntypedRemoteModule>, row: any )
crates/bindings-typescript/src/angular/injectors/inject-table.ts:154
Function
onInsert
( ctx: EventContextInterface<UntypedRemoteModule>, row: any )
crates/bindings-typescript/src/solid/useTable.ts:133
Function
onInsert
( eventCtx: EventContextInterface<UntypedRemoteModule>, row: any )
crates/bindings-typescript/src/svelte/useTable.ts:102
Function
onInsert
( eventCtx: EventContextInterface<UntypedRemoteModule>, row: any )
crates/bindings-typescript/src/vue/useTable.ts:111
Function
onMessageCreated
(msg: Message)
tools/llm-oneshot/apps/chat-app/typescript/gemini-3-pro/postgres/chat-app-20260108-120000/client/src/components/ChatRoom.tsx:49
Function
onMessageDeleted
({ id }: { id: number })
tools/llm-oneshot/apps/chat-app/typescript/gemini-3-pro/postgres/chat-app-20260108-120000/client/src/components/ChatRoom.tsx:67
Function
onMessageUpdated
(msg: Message)
tools/llm-oneshot/apps/chat-app/typescript/gemini-3-pro/postgres/chat-app-20260108-120000/client/src/components/ChatRoom.tsx:63
Function
onNewChat
()
templates/llm-chat-ts/src/App.tsx:249
Function
onReadUpdated
({ userId, lastReadMessageId, }: { userId: string; lastReadMessageId: number;
tools/llm-oneshot/apps/chat-app/typescript/gemini-3-pro/postgres/chat-app-20260108-120000/client/src/components/ChatRoom.tsx:83
Function
onSaveConfig
(event: FormEvent<HTMLFormElement>)
templates/llm-chat-ts/src/App.tsx:270
Function
onSocketAuthed
(socket: Socket, userId: string, displayName: string)
tools/llm-oneshot/apps/chat-app/typescript/gpt-5-2/postgres/chat-app-20260108-140800/server/src/realtime.ts:87
Function
onSubmitMessage
(e: React.FormEvent<HTMLFormElement>)
templates/chat-react-ts/src/App.tsx:98
Function
onSubmitNewName
(e: React.FormEvent<HTMLFormElement>)
templates/chat-react-ts/src/App.tsx:92
Method
onTableChange
()
crates/bindings-typescript/src/tanstack/SpacetimeDBQueryClient.ts:237
Function
onTypingStarted
({ username }: { username: string })
tools/llm-oneshot/apps/chat-app/typescript/gemini-3-pro/postgres/chat-app-20260108-120000/client/src/components/ChatRoom.tsx:71
Function
onTypingStopped
({ username }: { username: string })
tools/llm-oneshot/apps/chat-app/typescript/gemini-3-pro/postgres/chat-app-20260108-120000/client/src/components/ChatRoom.tsx:75
Function
onUpdate
( ctx: EventContextInterface<UntypedRemoteModule>, oldRow: any, newRow: any )
crates/bindings-typescript/src/react/useTable.ts:185
Function
onUpdate
( ctx: EventContextInterface<UntypedRemoteModule>, oldRow: any, newRow: any )
crates/bindings-typescript/src/angular/injectors/inject-table.ts:186
Function
onUpdate
( ctx: EventContextInterface<UntypedRemoteModule>, oldRow: any, newRow: any )
crates/bindings-typescript/src/solid/useTable.ts:161
Function
onUpdate
( eventCtx: EventContextInterface<UntypedRemoteModule>, oldRow: any, newRow: any )
crates/bindings-typescript/src/svelte/useTable.ts:134
Function
onUpdate
( eventCtx: EventContextInterface<UntypedRemoteModule>, oldRow: any, newRow: any )
crates/bindings-typescript/src/vue/useTable.ts:143
Function
on_connect_error
Our `on_connect_error` callback: print the error, then exit the process.
modules/sdk-test-procedure-cpp/client/src/main.rs:69
Function
on_connect_error
Our `on_connect_error` callback: print the error, then exit the process.
templates/chat-console-rs/src/main.rs:74
Function
on_connected
Our `on_connect` callback: save our credentials to a file.
modules/sdk-test-procedure-cpp/client/src/main.rs:61
Function
on_connected
Our `on_connect` callback: save our credentials to a file.
templates/chat-console-rs/src/main.rs:65
Method
on_delete
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row) + Send + 'static, )
modules/sdk-test-procedure-cpp/client/src/module_bindings/scheduled_proc_table_table.rs:69
Method
on_delete
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row) + Send + 'static, )
modules/sdk-test-procedure-cpp/client/src/module_bindings/my_table_table.rs:70
Method
on_delete
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row) + Send + 'static, )
modules/sdk-test-procedure-cpp/client/src/module_bindings/pk_uuid_table.rs:69
Method
on_delete
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row) + Send + 'static, )
modules/sdk-test-procedure-cpp/client/src/module_bindings/proc_inserts_into_table.rs:69
Method
on_delete
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row) + Send + 'static, )
templates/chat-console-rs/src/module_bindings/message_table.rs:69
Method
on_delete
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row) + Send + 'static, )
templates/chat-console-rs/src/module_bindings/user_table.rs:69
Method
on_delete
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row) + Send + 'static, )
templates/basic-rs/src/module_bindings/person_table.rs:69
Method
on_delete
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row) + Send + 'static, )
templates/basic-cpp/src/module_bindings/person_table.rs:69
Method
on_delete
Called by the autogenerated implementation of the [`crate::Table`] method of the same name.
sdks/rust/src/client_cache.rs:481
Method
on_delete
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row) + Send + 'static, )
sdks/rust/tests/procedural-view-pk-client/src/module_bindings/sender_right_view_table.rs:69
Method
on_delete
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row) + Send + 'static, )
sdks/rust/tests/procedural-view-pk-client/src/module_bindings/sender_left_view_table.rs:69
Method
on_delete
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row) + Send + 'static, )
sdks/rust/tests/procedural-view-pk-client/src/module_bindings/left_source_table.rs:69
Method
on_delete
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row) + Send + 'static, )
sdks/rust/tests/procedural-view-pk-client/src/module_bindings/right_source_table.rs:69
Method
on_delete
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row) + Send + 'static, )
sdks/rust/tests/test-client/src/module_bindings/result_simple_enum_i_32_table.rs:70
Method
on_delete
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row) + Send + 'static, )
sdks/rust/tests/test-client/src/module_bindings/one_enum_with_payload_table.rs:70
Method
on_delete
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row) + Send + 'static, )
sdks/rust/tests/test-client/src/module_bindings/one_every_vec_struct_table.rs:70
Method
on_delete
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row) + Send + 'static, )
sdks/rust/tests/test-client/src/module_bindings/option_identity_table.rs:69
Method
on_delete
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row) + Send + 'static, )
sdks/rust/tests/test-client/src/module_bindings/one_i_16_table.rs:69
Method
on_delete
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row) + Send + 'static, )
sdks/rust/tests/test-client/src/module_bindings/unique_identity_table.rs:69
Method
on_delete
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row) + Send + 'static, )
sdks/rust/tests/test-client/src/module_bindings/one_u_16_table.rs:69
Method
on_delete
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row) + Send + 'static, )
sdks/rust/tests/test-client/src/module_bindings/pk_u_16_table.rs:69
Method
on_delete
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row) + Send + 'static, )
sdks/rust/tests/test-client/src/module_bindings/unique_i_16_table.rs:69
Method
on_delete
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row) + Send + 'static, )
sdks/rust/tests/test-client/src/module_bindings/pk_i_64_table.rs:69
Method
on_delete
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row) + Send + 'static, )
sdks/rust/tests/test-client/src/module_bindings/unique_bool_table.rs:69
Method
on_delete
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row) + Send + 'static, )
sdks/rust/tests/test-client/src/module_bindings/one_f_64_table.rs:69
Method
on_delete
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row) + Send + 'static, )
sdks/rust/tests/test-client/src/module_bindings/vec_f_64_table.rs:69
Method
on_delete
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row) + Send + 'static, )
sdks/rust/tests/test-client/src/module_bindings/vec_i_16_table.rs:69
Method
on_delete
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row) + Send + 'static, )
sdks/rust/tests/test-client/src/module_bindings/option_uuid_table.rs:69
Method
on_delete
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row) + Send + 'static, )
sdks/rust/tests/test-client/src/module_bindings/vec_u_32_table.rs:69
Method
on_delete
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row) + Send + 'static, )
sdks/rust/tests/test-client/src/module_bindings/one_i_128_table.rs:69
Method
on_delete
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row) + Send + 'static, )
sdks/rust/tests/test-client/src/module_bindings/one_u_8_table.rs:69
Method
on_delete
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row) + Send + 'static, )
sdks/rust/tests/test-client/src/module_bindings/indexed_table_2_table.rs:69
Method
on_delete
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row) + Send + 'static, )
sdks/rust/tests/test-client/src/module_bindings/one_unit_struct_table.rs:70
Method
on_delete
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row) + Send + 'static, )
sdks/rust/tests/test-client/src/module_bindings/vec_simple_enum_table.rs:70
Method
on_delete
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row) + Send + 'static, )
sdks/rust/tests/test-client/src/module_bindings/unique_u_16_table.rs:69
Method
on_delete
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row) + Send + 'static, )
sdks/rust/tests/test-client/src/module_bindings/result_every_primitive_struct_string_table.rs:72
Method
on_delete
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row) + Send + 'static, )
sdks/rust/tests/test-client/src/module_bindings/vec_u_16_table.rs:69
Method
on_delete
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row) + Send + 'static, )
sdks/rust/tests/test-client/src/module_bindings/vec_uuid_table.rs:69
Method
on_delete
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row) + Send + 'static, )
sdks/rust/tests/test-client/src/module_bindings/one_i_32_table.rs:69
Method
on_delete
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row) + Send + 'static, )
sdks/rust/tests/test-client/src/module_bindings/vec_byte_struct_table.rs:70
Method
on_delete
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row) + Send + 'static, )
sdks/rust/tests/test-client/src/module_bindings/result_string_i_32_table.rs:69
Method
on_delete
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row) + Send + 'static, )
sdks/rust/tests/test-client/src/module_bindings/vec_u_128_table.rs:69
Method
on_delete
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row) + Send + 'static, )
sdks/rust/tests/test-client/src/module_bindings/one_timestamp_table.rs:69
Method
on_delete
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row) + Send + 'static, )
sdks/rust/tests/test-client/src/module_bindings/pk_string_table.rs:69
Method
on_delete
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row) + Send + 'static, )
sdks/rust/tests/test-client/src/module_bindings/unique_u_128_table.rs:69
Method
on_delete
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row) + Send + 'static, )
sdks/rust/tests/test-client/src/module_bindings/one_uuid_table.rs:69
Method
on_delete
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row) + Send + 'static, )
sdks/rust/tests/test-client/src/module_bindings/indexed_table_table.rs:69
Method
on_delete
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row) + Send + 'static, )
sdks/rust/tests/test-client/src/module_bindings/pk_connection_id_table.rs:69
Method
on_delete
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row) + Send + 'static, )
sdks/rust/tests/test-client/src/module_bindings/btree_u_32_table.rs:69
Method
on_delete
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row) + Send + 'static, )
sdks/rust/tests/test-client/src/module_bindings/vec_enum_with_payload_table.rs:70
Method
on_delete
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row) + Send + 'static, )
sdks/rust/tests/test-client/src/module_bindings/vec_u_8_table.rs:69
Method
on_delete
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row) + Send + 'static, )
sdks/rust/tests/test-client/src/module_bindings/vec_f_32_table.rs:69
Method
on_delete
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row) + Send + 'static, )
sdks/rust/tests/test-client/src/module_bindings/one_simple_enum_table.rs:70
Method
on_delete
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row) + Send + 'static, )
sdks/rust/tests/test-client/src/module_bindings/unique_u_32_table.rs:69
Method
on_delete
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row) + Send + 'static, )
sdks/rust/tests/test-client/src/module_bindings/one_string_table.rs:69
Method
on_delete
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row) + Send + 'static, )
sdks/rust/tests/test-client/src/module_bindings/one_f_32_table.rs:69
Method
on_delete
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row) + Send + 'static, )
sdks/rust/tests/test-client/src/module_bindings/unique_u_8_table.rs:69
Method
on_delete
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row) + Send + 'static, )
sdks/rust/tests/test-client/src/module_bindings/unique_i_32_table.rs:69
Method
on_delete
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row) + Send + 'static, )
sdks/rust/tests/test-client/src/module_bindings/pk_i_128_table.rs:69
Method
on_delete
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row) + Send + 'static, )
sdks/rust/tests/test-client/src/module_bindings/unique_i_64_table.rs:69
Method
on_delete
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row) + Send + 'static, )
sdks/rust/tests/test-client/src/module_bindings/one_byte_struct_table.rs:70
Method
on_delete
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row) + Send + 'static, )
sdks/rust/tests/test-client/src/module_bindings/vec_every_primitive_struct_table.rs:72
Method
on_delete
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row) + Send + 'static, )
sdks/rust/tests/test-client/src/module_bindings/unique_u_64_table.rs:69
Method
on_delete
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row) + Send + 'static, )
sdks/rust/tests/test-client/src/module_bindings/result_vec_i_32_string_table.rs:69
Method
on_delete
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row) + Send + 'static, )
sdks/rust/tests/test-client/src/module_bindings/vec_unit_struct_table.rs:70
Method
on_delete
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row) + Send + 'static, )
sdks/rust/tests/test-client/src/module_bindings/pk_u_64_table.rs:69
Method
on_delete
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row) + Send + 'static, )
sdks/rust/tests/test-client/src/module_bindings/pk_i_256_table.rs:69
Method
on_delete
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row) + Send + 'static, )
sdks/rust/tests/test-client/src/module_bindings/scheduled_table_table.rs:69
Method
on_delete
( &self, callback: impl FnMut(&Self::EventContext, &Self::Row) + Send + 'static, )
sdks/rust/tests/test-client/src/module_bindings/unique_i_8_table.rs:69
← previous
next →
22,801–22,900 of 27,764, ranked by callers