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

Function ProcessCommands

templates/chat-console-cs/Program.cs:236–251  ·  view source on GitHub ↗
(RemoteReducers reducers)

Source from the content-addressed store, hash-verified

234}
235
236void ProcessCommands(RemoteReducers reducers)
237{
238 // process input queue commands
239 while (input_queue.TryDequeue(out var command))
240 {
241 switch (command.Command)
242 {
243 case "message":
244 reducers.SendMessage(command.Args);
245 break;
246 case "name":
247 reducers.SetName(command.Args);
248 break;
249 }
250 }
251}
252
253Main();

Callers 1

ProcessThreadFunction · 0.85

Calls 2

SendMessageMethod · 0.45
SetNameMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…