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

Function OnSubscriptionApplied

templates/chat-console-cs/Program.cs:178–182  ·  view source on GitHub ↗
(SubscriptionEventContext ctx)

Source from the content-addressed store, hash-verified

176/// Our `OnSubscriptionApplied` callback:
177/// sort all past messages and print them in timestamp order.
178void OnSubscriptionApplied(SubscriptionEventContext ctx)
179{
180 Console.WriteLine("Connected");
181 PrintMessagesInOrder(ctx.Db);
182}
183
184void PrintMessagesInOrder(RemoteTables tables)
185{

Callers

nothing calls this directly

Calls 1

PrintMessagesInOrderFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…