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
↓ 1 callers
Method
subscribe_to_all_tables
Subscribe to all rows from all tables. This method is intended as a convenience for applications where client-side memory use and network bandwidth a
sdks/rust/src/subscription.rs:211
↓ 1 callers
Method
subscribe_to_snapshots
Subscribe to a channel of snapshot offsets. If a `snapshot_repo` was provided when this database was opened, this method returns a `watch::Receiver`
crates/engine/src/relational_db.rs:895
↓ 1 callers
Function
subscribe_to_tables
Subscribe to tables
modules/sdk-test-procedure-cpp/client/src/main.rs:91
↓ 1 callers
Function
subscribe_to_tables
Register subscriptions for all rows of both tables.
templates/chat-console-rs/src/main.rs:162
↓ 1 callers
Function
subscribe_v1
Send a v1 JSON subscribe message.
crates/cli/src/subcommands/subscribe.rs:412
↓ 1 callers
Method
subscribe_v2
( &self, request: ws_v2::Subscribe, timer: Instant, )
crates/core/src/client/client_connection.rs:1147
↓ 1 callers
Function
subscribe_v3
Send a v3 BSATN subscribe message.
crates/cli/src/subcommands/subscribe.rs:427
↓ 1 callers
Method
subscription_applied
This should be called when we get a subscription applied message from the server.
sdks/rust/src/subscription.rs:78
↓ 1 callers
Method
subscription_builder
(&self)
modules/sdk-test-procedure-cpp/client/src/module_bindings/mod.rs:308
↓ 1 callers
Method
subscription_builder
(&self)
templates/chat-console-rs/src/module_bindings/mod.rs:254
↓ 1 callers
Method
subscription_builder
(&self)
templates/basic-rs/src/module_bindings/mod.rs:233
↓ 1 callers
Method
subscription_builder
(&self)
templates/basic-cpp/src/module_bindings/mod.rs:233
↓ 1 callers
Method
subscription_builder
(&self)
sdks/rust/tests/procedure-concurrency-client/src/module_bindings/mod.rs:309
↓ 1 callers
Method
subscription_builder
(&self)
sdks/rust/tests/procedure-client/src/module_bindings/mod.rs:318
↓ 1 callers
Method
subscription_error
This should be called when we get an unsubscribe applied message from the server.
sdks/rust/src/subscription.rs:134
↓ 1 callers
Method
sum_name
(&self)
crates/sats/src/layout.rs:991
↓ 1 callers
Function
sum_type_has_default_ordering
Checks if a sum type has the default ordering. Not a recursive check.
crates/lib/src/db/default_element_ordering.rs:41
↓ 1 callers
Function
sum_type_to_rose_tree
Construct a `VarLenRoseTree` from the sum type `ty`. The sum types are the main reason we go through the complication of a rose tree and why we cannot
crates/table/src/row_type_visitor.rs:105
↓ 1 callers
Function
summarize
(r: ScenarioResult)
tools/llm-sequential-upgrade/perf-benchmark/src/main.ts:81
↓ 1 callers
Function
superize_vis
Transform a visibility marker to one with the same effective visibility, but for use in a child module of the module of the original marker.
crates/bindings-macro/src/table.rs:714
↓ 1 callers
Method
supports
(self, module_version: VersionTuple)
crates/lib/src/lib.rs:80
↓ 1 callers
Function
supports_blueprint_query_filter
(module: &ModuleDef, ty: &AlgebraicTypeUse)
crates/codegen/src/unrealcpp.rs:3079
↓ 1 callers
Method
symbol
Converts the string to a V8 symbol using [`Symbol::for_api`].
crates/core/src/host/v8/string.rs:47
↓ 1 callers
Method
syncEntity
(entityId: number)
demo/Blackholio/client-ts/src/game/GameManager.ts:185
↓ 1 callers
Method
syncSubscribedState
()
demo/Blackholio/client-ts/src/game/GameManager.ts:137
↓ 1 callers
Function
sys_v1_0
Registers all module -> host syscalls in the JS module `spacetimedb_sys`.
crates/core/src/host/v8/syscall/v1.rs:58
↓ 1 callers
Function
sys_v1_1
(scope: &mut PinScope<'scope, '_>)
crates/core/src/host/v8/syscall/v1.rs:120
↓ 1 callers
Function
sys_v1_2
(scope: &mut PinScope<'scope, '_>)
crates/core/src/host/v8/syscall/v1.rs:125
↓ 1 callers
Function
sys_v1_3
(scope: &mut PinScope<'scope, '_>)
crates/core/src/host/v8/syscall/v1.rs:154
↓ 1 callers
Function
sys_v2_0
Registers all 2.0 module -> host syscalls in the JS module `spacetimedb_sys`.
crates/core/src/host/v8/syscall/v2.rs:88
↓ 1 callers
Function
sys_v2_1
Registers all 2.1 module -> host syscalls in the JS module `spacetimedb_sys`.
crates/core/src/host/v8/syscall/v2.rs:164
↓ 1 callers
Function
system_table_schema
If `table_id` refers to a known system table, return its schema. Used when restoring from a snapshot; system tables are reinstantiated with this sche
crates/datastore/src/system_tables.rs:951
↓ 1 callers
Function
table
( name: &str, columns: ProductType, f: impl FnOnce(RawTableDefBuilder<'_>) -> RawTableDefBuilder,
crates/snapshot/tests/remote.rs:274
↓ 1 callers
Method
table
(&self)
crates/table/src/table.rs:2146
↓ 1 callers
Function
table_access_trait_name
(table_name: &Identifier)
crates/codegen/src/rust.rs:1100
↓ 1 callers
Method
table_holds_table
(&self)
sdks/rust/tests/test-client/src/module_bindings/table_holds_table_table.rs:34
↓ 1 callers
Method
table_id
(&self, name: &str)
crates/expr/src/check.rs:200
↓ 1 callers
Method
table_id_exists_mut
(&self, tx: &MutTx, table_id: &TableId)
crates/engine/src/relational_db.rs:1275
↓ 1 callers
Method
table_id_exists_mut_tx
(&self, tx: &Self::MutTx, table_id: &TableId)
crates/datastore/src/locking_tx_datastore/datastore.rs:522
↓ 1 callers
Method
table_id_exists_tx
(&self, tx: &Self::Tx, table_id: &TableId)
crates/datastore/src/locking_tx_datastore/datastore.rs:412
↓ 1 callers
Method
table_id_from_name
(&self, table_name: &str)
crates/datastore/src/locking_tx_datastore/mut_tx.rs:1108
↓ 1 callers
Method
table_id_from_name
( caller: Caller<'_, Self>, name: WasmPtr<u8>, name_len: u32, out: WasmPtr<u32
crates/core/src/host/wasmtime/wasm_instance_env.rs:527
↓ 1 callers
Method
table_id_from_name_tx
(&self, tx: &Self::Tx, table_name: &str)
crates/datastore/src/locking_tx_datastore/datastore.rs:416
↓ 1 callers
Method
table_ids_and_names
Returns a list of tables affected in this transaction.
crates/datastore/src/traits.rs:370
↓ 1 callers
Function
table_impl
(mut args: TableArgs, item: &syn::DeriveInput)
crates/bindings-macro/src/table.rs:814
↓ 1 callers
Function
table_name
(style: IndexStrategy)
crates/bench/src/schemas.rs:163
↓ 1 callers
Method
table_name_from_id
(&self, table_id: TableId)
crates/datastore/src/locking_tx_datastore/mut_tx.rs:1116
↓ 1 callers
Method
table_name_from_id_mut_tx
(&'a self, tx: &'a Self::MutTx, table_id: TableId)
crates/datastore/src/locking_tx_datastore/datastore.rs:526
↓ 1 callers
Method
table_name_from_id_tx
(&'a self, tx: &'a Self::Tx, table_id: TableId)
crates/datastore/src/locking_tx_datastore/datastore.rs:420
↓ 1 callers
Method
table_row_count
(&self, table_id: TableId)
crates/datastore/src/locking_tx_datastore/tx.rs:96
↓ 1 callers
Method
table_schema
Convenience method to look up a table and convert it to a `TableSchema`. All indexes, constraints, etc inside the table will have ID 0!
crates/schema/src/def.rs:433
↓ 1 callers
Method
tail_stream
(&self, n: Option<u32>)
crates/core/src/database_logger.rs:100
↓ 1 callers
Function
takeBuf
()
crates/bindings-typescript/src/server/runtime.ts:1050
↓ 1 callers
Method
take_adjacent_schemas
Extracts all the [Self::indexes], [Self::sequences], and [Self::constraints].
crates/schema/src/schema.rs:320
↓ 1 callers
Method
take_buffer
* Extract the serialized buffer as a UE TArray * @return TArray<uint8> containing the serialized data * @note This consumes the writer (move sem
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Public/BSATN/UESpacetimeDB.h:140
↓ 1 callers
Method
take_determinism_log
(&self)
crates/runtime/src/sim/rng.rs:160
↓ 1 callers
Method
take_snapshot
(&self, state: SnapshotDatabaseState)
crates/engine/src/snapshot.rs:227
↓ 1 callers
Method
take_with_fixed_row_size
Takes a [`Page`] from the pool or creates a new one. The returned page supports fixed rows of size `fixed_row_size`.
crates/table/src/page_pool.rs:56
↓ 1 callers
Function
target_dir
Returns the target directory.
crates/guard/src/lib.rs:36
↓ 1 callers
Function
temp_logger
An `InstanceEnv` requires a `DatabaseLogger`
crates/core/src/host/instance_env.rs:1359
↓ 1 callers
Function
test
(ctx: &ReducerContext, arg: TestAlias, arg2: TestB, arg3: TestC, arg4: TestF)
modules/module-test/src/lib.rs:303
↓ 1 callers
Function
test_calling_a_procedure_in_module
(module_name: &'static str)
crates/testing/tests/standalone_integration_test.rs:198
↓ 1 callers
Function
test_calling_with_tx_in_module
(module_name: &'static str)
crates/testing/tests/standalone_integration_test.rs:233
↓ 1 callers
Function
test_csharp_template
Publishes a C# server module and verifies the C# client builds.
crates/smoketests/tests/smoketests/templates.rs:792
↓ 1 callers
Function
test_intra_query_bag_semantics_for_join
Test that when subscribing to a single join query, the server returns a bag of rows to the client - not a set. This is a regression test for [2397](h
sdks/rust/tests/test-client/src/test_handlers.rs:2416
↓ 1 callers
Function
test_lhs_join_update
This test asserts that the correct callbacks are invoked when updating the lhs table of a join
sdks/rust/tests/test-client/src/test_handlers.rs:2286
↓ 1 callers
Function
test_lhs_join_update_disjoint_queries
This test asserts that the correct callbacks are invoked when updating the lhs table of a join
sdks/rust/tests/test-client/src/test_handlers.rs:2352
↓ 1 callers
Function
test_parameterized_subscription
In this test we have two clients issue parameterized subscriptions. These subscriptions are identical syntactically but not semantically, because they
sdks/rust/tests/test-client/src/test_handlers.rs:2571
↓ 1 callers
Function
test_rls_subscription
In this test we have two clients subscribe to the `users` table. Access to this table is controlled using the following RLS rule: ```rust,ignore #[spa
sdks/rust/tests/test-client/src/test_handlers.rs:2651
↓ 1 callers
Function
test_rust_template
Publishes a Rust server module and verifies the Rust client builds.
crates/smoketests/tests/smoketests/templates.rs:717
↓ 1 callers
Function
test_template
Runs the full init + publish + client-test cycle for a single template.
crates/smoketests/tests/smoketests/templates.rs:830
↓ 1 callers
Function
test_typescript_template
Publishes a TypeScript server module and verifies the TypeScript client type-checks.
crates/smoketests/tests/smoketests/templates.rs:755
↓ 1 callers
Method
text
()
crates/bindings-typescript/src/server/http_shared.ts:177
↓ 1 callers
Function
thread_spawn_handler
A Rayon [spawn_handler](https://docs.rs/rustc-rayon-core/latest/rayon_core/struct.ThreadPoolBuilder.html#method.spawn_handler) which enters the given
crates/core/src/startup.rs:413
↓ 1 callers
Method
throw
(self, scope: &PinScope<'scope, '_>)
crates/core/src/host/v8/ser.rs:45
↓ 1 callers
Method
throw
(self, scope: &PinScope<'scope, '_>)
crates/core/src/host/v8/error.rs:285
↓ 1 callers
Function
throw_nodes_error
Turns a [`NodesError`] into a thrown exception.
crates/core/src/host/v8/syscall/v2.rs:338
↓ 1 callers
Function
throw_nodes_error
Turns a [`NodesError`] into a thrown exception.
crates/core/src/host/v8/syscall/v1.rs:344
↓ 1 callers
Function
time
(acc: &mut Duration, body: impl FnOnce() -> R)
crates/table/benches/page.rs:23
↓ 1 callers
Function
time_duration
* @brief Create a TimeDuration type (duration in microseconds). * * @return AlgebraicType representing a TimeDuration * @todo Integrat
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Public/BSATN/Core/type_extensions.h:311
↓ 1 callers
Method
time_duration_since
Returns the [`TimeDuration`] delta between `self` and `earlier`. The result may be negative if `earlier` is actually later than `self`. Returns `Non
crates/sats/src/timestamp.rs:127
↓ 1 callers
Function
time_extract_one
(b: &mut Bencher, page: &mut Page, offset: PageOffset, ty: &RowTypeLayout)
crates/table/benches/page.rs:732
↓ 1 callers
Method
timer_guard_for_reducer_plus_query
Returns a timer guard for `reducer_plus_query_duration`.
crates/core/src/host/wasm_common/module_host_actor.rs:1637
↓ 1 callers
Function
timestamp
* @brief Create a Timestamp type (microseconds since Unix epoch). * * @return AlgebraicType representing a Timestamp * @todo Integrate
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Public/BSATN/Core/type_extensions.h:298
↓ 1 callers
Method
timestamp
(&self)
crates/core/src/host/wasm_common/module_host_actor.rs:1768
↓ 1 callers
Function
tmpl_root
()
tools/xtask-llm-benchmark/src/bench/templates.rs:42
↓ 1 callers
Method
toMillis
Convert to milliseconds since Unix epoch.
crates/bindings-typescript/src/lib/timestamp.ts:77
↓ 1 callers
Function
toRelativeLink
(fromFile, toFile, suffix)
docs/scripts/rewrite-doc-links.mjs:105
↓ 1 callers
Function
toSpacetimeConfig
( config: ConnectorRuntimeConfig, )
templates/keynote-2/src/connectors/index.ts:22
↓ 1 callers
Function
toString
( tableDef: TableDef, expr: Expr<ColumnsFromRow<RowType<TableDef>>> )
crates/bindings-typescript/src/lib/filter.ts:133
↓ 1 callers
Method
to_abbreviated_hex
Extract the first 16 characters of this `Identity`'s hexadecimal representation.
crates/lib/src/identity.rs:241
↓ 1 callers
Function
to_bsatn_extend
crates/bindings-cpp/include/spacetimedb/bsatn/size_calculator.h:185
↓ 1 callers
Method
to_bsatn_extend
BSATN-encode the row referred to by `self` into `buf`, pushing `self`'s bytes onto the end of `buf`, similar to [`Vec::extend`]. This method will use
crates/table/src/table.rs:2012
↓ 1 callers
Function
to_bsatn_vec
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Public/BSATN/Core/size_calculator.h:169
↓ 1 callers
Method
to_bsatn_vec
(&self)
crates/execution/src/lib.rs:196
↓ 1 callers
Method
to_chrono_date_time
(&self)
crates/sats/src/timestamp.rs:175
↓ 1 callers
Method
to_duration_saturating
Converts `self` to `Duration`, clamping to 0 if negative.
crates/sats/src/time_duration.rs:61
↓ 1 callers
Method
to_func_sig
(&self)
crates/core/src/host/wasm_common.rs:127
↓ 1 callers
Function
to_hashmap
(value: serde_json::Value)
crates/client-api/src/auth.rs:312
↓ 1 callers
Method
to_hex_string
sdks/unreal/src/SpacetimeDbSdk/Source/SpacetimeDbSdk/Public/BSATN/Core/types_impl.h:28
← previous
next →
10,401–10,500 of 27,764, ranked by callers