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
Function
setup_rust_server_sdk
Rewires the Rust server module's `spacetimedb` dependency to the local `crates/bindings` path. Templates contain a relative path (`../../../crates/bi
crates/smoketests/tests/smoketests/templates.rs:615
↓ 1 callers
Method
shared
(&'a self)
crates/data-structures/src/slim_slice.rs:1065
↓ 1 callers
Function
shortIdentity
(identity: Identity)
templates/money-exchange-react-ts/src/App.tsx:26
↓ 1 callers
Function
shouldLog
(level: LogLevel)
crates/bindings-typescript/src/sdk/logger.ts:52
↓ 1 callers
Function
shouldSkipPackage
Skip @types/* packages - typings, not frameworks
tools/templates/update-template-jsons.ts:31
↓ 1 callers
Function
should_ignore_path
Determines whether a path should be ignored by the file watcher. Layered filtering: 1. If any path component is in `ALWAYS_IGNORE_DIRS` → ignore 2. I
crates/cli/src/subcommands/dev.rs:1497
↓ 1 callers
Function
should_inject_fault_with_prob
Returns whether the runtime should inject a fault at this point using the provided deterministic probability.
crates/runtime/src/sim/buggify.rs:31
↓ 1 callers
Method
should_print_notice
(&self, latest: &semver::Version, now: u64)
crates/update/src/update_notice.rs:53
↓ 1 callers
Function
should_process_file
(path: &Path, only_exts: &Option<Vec<String>>)
tools/replace-spacetimedb/src/lib.rs:21
↓ 1 callers
Function
should_retire_worker_for_heap
The single JS worker can process an unbounded number of reducer calls over its lifetime. That is great for locality, but it also means any JS heap ret
crates/core/src/host/v8/mod.rs:1144
↓ 1 callers
Function
should_skip
sqllogictest::Condition::should_skip
crates/sqltest/src/main.rs:272
↓ 1 callers
Function
shutdown
()
templates/deno-ts/src/main.ts:94
↓ 1 callers
Function
signToken
(payload: AuthTokenPayload)
tools/llm-oneshot/apps/chat-app/typescript/gpt-5-2/postgres/chat-app-20260108-140800/server/src/auth.ts:17
↓ 1 callers
Method
simulateConnectError
(error: Error)
crates/bindings-typescript/tests/connection_manager.test.ts:102
↓ 1 callers
Method
simulateDisconnect
(error?: Error)
crates/bindings-typescript/tests/connection_manager.test.ts:95
↓ 1 callers
Function
single_subscribe
A [SubscribeSingle] message for testing
crates/core/src/subscription/module_subscription_actor.rs:2098
↓ 1 callers
Function
single_unsubscribe
An [Unsubscribe] message for testing
crates/core/src/subscription/module_subscription_actor.rs:2127
↓ 1 callers
Method
size_hint
(&self)
crates/core/src/host/v8/de.rs:438
↓ 1 callers
Method
size_hint
(&self)
crates/lib/src/http.rs:107
↓ 1 callers
Method
size_hint
Returns the number of elements remaining in the array, if known.
crates/sats/src/de.rs:640
↓ 1 callers
Method
size_hint
(&self)
crates/sats/src/de/serde.rs:531
↓ 1 callers
Method
size_in_memory
The size in bytes of all of the in-memory data in this database.
crates/engine/src/relational_db.rs:677
↓ 1 callers
Method
size_on_disk_snapshot
(&self, offset: TxOffset)
crates/snapshot/src/lib.rs:1344
↓ 1 callers
Function
skill_to_mdc
Convert a SKILL.md file to Cursor .mdc format. Parses the SKILL.md frontmatter for cursor_globs and cursor_always_apply, then generates Cursor-compati
crates/cli/src/subcommands/init.rs:2093
↓ 1 callers
Method
skip_record
( &self, version: u8, tx_offset: u64, reader:
crates/commitlog/src/commitlog.rs:1172
↓ 1 callers
Method
skip_record
( &self, version: u8, tx_offset: u64, reader: &mut R, )
crates/commitlog/src/payload.rs:121
↓ 1 callers
Method
skipped_object
(&self)
crates/snapshot/src/remote.rs:185
↓ 1 callers
Function
slice_assume_init_ref
Convert a `[MaybeUninit<T>]` into a `[T]` by asserting all elements are initialized. Identical copy of the source of `MaybeUninit::slice_assume_init_
crates/sats/src/algebraic_value/ser.rs:224
↓ 1 callers
Function
slugify
(name: &str)
crates/cli/src/subcommands/init.rs:251
↓ 1 callers
Method
snapshot_repo
Get the snapshot repo this worker is operating on.
crates/engine/src/snapshot.rs:117
↓ 1 callers
Function
snapshot_watching_commitlog_compressor
Watches snapshot creation events and compresses all commitlog segments older than the snapshot. Suitable **only** for non-replicated databases.
crates/engine/src/relational_db.rs:1734
↓ 1 callers
Function
solvedWord
(answer: string, guessedLetters: string)
templates/hangman-react-ts/spacetimedb/src/index.ts:147
↓ 1 callers
Function
sortChats
(chats: readonly Chat[])
templates/llm-chat-ts/src/App.tsx:49
↓ 1 callers
Function
sortMessages
(messages: Message[])
templates/llm-chat-ts/src/App.tsx:57
↓ 1 callers
Method
sort_dedup
Sort and deduplicate the list. If the list is already sorted and deduplicated, does nothing. This will typically result in an inline list unless there
crates/primitives/src/col_list.rs:206
↓ 1 callers
Method
spacetime_cmd_with_stdin
Runs a spacetime CLI command with stdin input. Returns the command output. The command is run but not yet asserted. Uses --config-path to isolate tes
crates/smoketests/src/lib.rs:1095
↓ 1 callers
Function
spacetime_dns
Converts a name to a database identity.
crates/cli/src/util.rs:120
↓ 1 callers
Function
spacetimedb_direct_login
(host: &Url)
crates/cli/src/subcommands/login.rs:288
↓ 1 callers
Function
spacetimedb_login
(remote: &Url, web_session_token: &String)
crates/cli/src/subcommands/login.rs:263
↓ 1 callers
Function
spawnServer
(command: string, name: string)
templates/keynote-2/src/init/utils.ts:51
↓ 1 callers
Function
spawn_bsatn_rlb_pool_stats
(node_id: String, pool: BsatnRowListBuilderPool)
crates/core/src/worker_metrics/mod.rs:465
↓ 1 callers
Method
spawn_executor
Spawn a [`SingleThreadedExecutor`] for this allocated core.
crates/core/src/util/jobs.rs:223
↓ 1 callers
Function
spawn_jemalloc_stats
(_node_id: String)
crates/core/src/worker_metrics/mod.rs:415
↓ 1 callers
Method
spawn_local_on
Spawn a non-`Send` future onto a specific simulated node. This is only valid because the simulation executor is single-threaded.
crates/runtime/src/sim/executor/mod.rs:290
↓ 1 callers
Function
spawn_main_instance_worker
( program: Arc<str>, module_or_mcc: Either<ModuleCommon, ModuleCreationContext>, load_balance_guar
crates/core/src/host/v8/mod.rs:1244
↓ 1 callers
Function
spawn_page_pool_stats
(node_id: String, page_pool: PagePool)
crates/core/src/worker_metrics/mod.rs:442
↓ 1 callers
Function
spawn_procedure_instance_worker
( program: Arc<str>, module_or_mcc: Either<ModuleCommon, ModuleCreationContext>, load_balance_guar
crates/core/src/host/v8/mod.rs:1263
↓ 1 callers
Function
spawn_rayon
(f: impl FnOnce() -> R + Send + 'static)
crates/core/src/util/mod.rs:24
↓ 1 callers
Function
spawn_redirect_server
(location: &str)
crates/smoketests/tests/smoketests/http_egress.rs:31
↓ 1 callers
Function
spawn_tokio_stats
(node_id: String, _: String, _: tokio::runtime::Handle)
crates/core/src/worker_metrics/mod.rs:490
↓ 1 callers
Function
spawn_tx_metrics_recorder
( handle: &spacetimedb_runtime::Handle, )
crates/core/src/db/mod.rs:49
↓ 1 callers
Function
spawn_v8_worker_thread
(worker_kind: JsWorkerKind, database_identity: Identity, f: impl FnOnce() + Send + 'static)
crates/core/src/host/v8/mod.rs:1538
↓ 1 callers
Function
spawn_view_cleanup_loop
Spawn a background task that periodically cleans up expired views
crates/engine/src/relational_db.rs:1093
↓ 1 callers
Function
splitMessagesV3
( reader: BinaryReader, data: Uint8Array<ArrayBuffer>, deserialize: (reader: BinaryReader) => unknown )
crates/bindings-typescript/src/sdk/websocket_v3_frames.ts:42
↓ 1 callers
Function
splitName
(name: string)
crates/bindings-typescript/src/lib/schema.ts:417
↓ 1 callers
Function
splitPathSuffix
(target)
docs/scripts/rewrite-doc-links.mjs:76
↓ 1 callers
Function
split_command_string
(command: &str)
crates/testing/src/sdk.rs:299
↓ 1 callers
Method
st_client_row
Look up a client row by identity and connection ID in the `st_clients` system table.
crates/datastore/src/locking_tx_datastore/mut_tx.rs:2791
↓ 1 callers
Method
st_view_row
Lookup a row in `st_view` by its primary key
crates/datastore/src/locking_tx_datastore/mut_tx.rs:2697
↓ 1 callers
Function
stable_rel_for_hash
produce a consistent, forward-slash relative path for hashing
tools/xtask-llm-benchmark/src/context/hashing.rs:58
↓ 1 callers
Function
stable_rel_path
Produce a consistent, forward-slash relative path for inclusion in context. This strips the base directory prefix so paths are stable across different
tools/xtask-llm-benchmark/src/context/combine.rs:22
↓ 1 callers
Function
stale_view_backing_table_fixture
()
crates/smoketests/tests/smoketests/views.rs:228
↓ 1 callers
Function
stale_view_backing_table_recreate_steps
( stdb: &RelationalDB, module_def: &'def ModuleDef, )
crates/engine/src/update.rs:51
↓ 1 callers
Method
start
Start the subscription. This updates the state in the handle, and returns the message to be sent to the server. The caller is responsible for sending
sdks/rust/src/subscription.rs:358
↓ 1 callers
Function
startJobs
( db: PostgresJsDatabase<Record<string, never>>, realtime: { broadcastMessageCreated(roomId: number, m
tools/llm-oneshot/apps/chat-app/typescript/gpt-5-2/postgres/chat-app-20260108-140800/server/src/jobs.ts:10
↓ 1 callers
Function
startObserving
()
docs/src/client-modules/inkeep-font-override.ts:87
↓ 1 callers
Function
startTyping
(roomId: number)
tools/llm-oneshot/apps/chat-app/typescript/gpt-5-2/postgres/chat-app-20260108-140800/client/src/App.tsx:198
↓ 1 callers
Function
start_client_process
Start the client development server as a child process. The process inherits stdout/stderr so the user can see the output. Sets SPACETIMEDB_DB_NAME an
crates/cli/src/subcommands/dev.rs:1672
↓ 1 callers
Method
start_funcall
Signal to this `WasmInstanceEnv` that a reducer call is beginning. Returns the handle used by reducers to read from `args` as well as the handle used
crates/core/src/host/v8/mod.rs:383
↓ 1 callers
Method
start_listen_addr
(&self)
crates/cli/src/config.rs:491
↓ 1 callers
Function
start_log_stream
( mut config: Config, database_identity: String, server: Option<&str>, prefix: Option<String>,
crates/cli/src/subcommands/dev.rs:1248
↓ 1 callers
Method
start_new_segment
Start a new segment, preserving the current head's `Commit`. The caller must ensure that the current head is synced to disk as appropriate. It is not
crates/commitlog/src/commitlog.rs:251
↓ 1 callers
Function
start_run_function_span
Starts the `run_function` span.
crates/core/src/host/wasm_common/module_host_actor.rs:1679
↓ 1 callers
Function
startup_instance_worker
Performs some of the shared startup work for JS worker isolates. NOTE(centril): in its own function due to lack of `try` blocks.
crates/core/src/host/v8/mod.rs:1168
↓ 1 callers
Function
static_bsatn_size
crates/bindings-cpp/include/spacetimedb/bsatn/serialization.h:142
↓ 1 callers
Method
static_bsatn_size
(&self)
crates/sats/src/bsatn.rs:184
↓ 1 callers
Function
static_bsatn_validator
Constructs a validator for a row encoded in BSATN that checks that the row satisfies the type `ty` when `ty` has `StaticLayout`. This is a potentiall
crates/table/src/static_bsatn_validator.rs:38
↓ 1 callers
Function
stats
(stmt: &SqlStmtResult<ProductValue>)
crates/pg/src/pg_server.rs:95
↓ 1 callers
Function
status
(args: StatusArgs)
tools/ci/src/cla_assistant.rs:69
↓ 1 callers
Function
status
()
crates/bindings-typescript/src/sdk/client_api/types.ts:96
↓ 1 callers
Function
status_ok_or_panic
(output: std::process::Output, command: &str, test_name: &str)
crates/testing/src/sdk.rs:113
↓ 1 callers
Function
stmt_result_to_table
(client: PsqlClient, stmt_result: &SqlStmtResult)
crates/cli/src/subcommands/sql.rs:167
↓ 1 callers
Method
store_call_info
(&mut self, request_id: u32, args: M::Reducer, callback: ReducerCallback<M>)
sdks/rust/src/callbacks.rs:236
↓ 1 callers
Function
stored_program_hash
(db: &RelationalDB)
crates/core/src/host/host_controller.rs:645
↓ 1 callers
Function
stream_logs
( host_url: &str, database_identity: &str, auth_header: &crate::util::AuthHeader, prefix: Opti
crates/cli/src/subcommands/dev.rs:1271
↓ 1 callers
Function
stripFrontmatterAndImports
(content: string)
tools/templates/generate-template-readmes.ts:61
↓ 1 callers
Function
stripLineIndent
(md: string)
tools/templates/generate-template-readmes.ts:135
↓ 1 callers
Function
stripOrderingPrefix
(segment)
docs/scripts/rewrite-doc-links.mjs:54
↓ 1 callers
Function
stripRemainingStepTags
(content: string)
tools/templates/generate-template-readmes.ts:100
↓ 1 callers
Function
stripScheduledPrefix
(content: string)
tools/llm-oneshot/apps/chat-app/typescript/gpt-5-2/postgres/chat-app-20260108-140800/server/src/jobs.ts:5
↓ 1 callers
Function
strip_code_fences
Remove leading/trailing Markdown fences like ```rust ... ``` or ~~~ Keeps the inner text intact. Always returns an owned String.
tools/xtask-llm-benchmark/src/bench/templates.rs:218
↓ 1 callers
Function
strip_frontmatter
Strip YAML frontmatter (the --- delimited section at the start)
crates/cli/src/subcommands/init.rs:2140
↓ 1 callers
Method
subscribe
Send the subscribe request using whichever protocol was negotiated.
crates/cli/src/subcommands/subscribe.rs:111
↓ 1 callers
Method
subscribe
( query_sql: | string | RowTypedQuery<any, any> | Array<string | RowTypedQuery<any, any>
crates/bindings-typescript/src/sdk/subscription_builder_impl.ts:94
↓ 1 callers
Method
subscribe_background_on_impl
( &self, database: &str, queries: &[&str], n: Option<usize>, confirmed
crates/smoketests/src/lib.rs:1817
↓ 1 callers
Method
subscribe_multi
( &self, request: ws_v1::SubscribeMulti, timer: Instant, )
crates/core/src/client/client_connection.rs:1156
↓ 1 callers
Method
subscribe_on_impl
( &self, database: &str, queries: &[&str], n: Option<usize>, confirmed
crates/smoketests/src/lib.rs:1764
↓ 1 callers
Method
subscribe_single
( &self, subscription: ws_v1::SubscribeSingle, timer: Instant, )
crates/core/src/client/client_connection.rs:1127
↓ 1 callers
Function
subscribe_these_then
( ctx: &impl RemoteDbContext, queries: &[&str], callback: impl FnOnce(&SubscriptionEventContext) +
sdks/rust/tests/view-pk-client/src/test_handlers.rs:65
↓ 1 callers
Function
subscribe_these_then
( ctx: &impl RemoteDbContext, queries: &[&str], callback: impl FnOnce(&SubscriptionEventContext) +
sdks/rust/tests/procedure-client/src/test_handlers.rs:98
← previous
next →
10,301–10,400 of 27,764, ranked by callers