MCPcopy Create free account
hub / github.com/clockworklabs/SpacetimeDB / run_threaded

Method run_threaded

templates/basic-cpp/src/module_bindings/mod.rs:309–311  ·  view source on GitHub ↗

Spawn a thread which processes WebSocket messages as they are received.

(&self)

Source from the content-addressed store, hash-verified

307
308 /// Spawn a thread which processes WebSocket messages as they are received.
309 pub fn run_threaded(&self) -> std::thread::JoinHandle<()> {
310 self.imp.run_threaded()
311 }
312
313 /// Run an `async` loop which processes WebSocket messages when polled.
314 pub async fn run_async(&self) -> __sdk::Result<()> {

Callers 1

mainFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected