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

Function OnDisconnected

templates/basic-cs/Program.cs:61–71  ·  view source on GitHub ↗
(DbConnection conn, Exception? e)

Source from the content-addressed store, hash-verified

59}
60
61void OnDisconnected(DbConnection conn, Exception? e)
62{
63 if (e != null)
64 {
65 Console.WriteLine($"Disconnected with error: {e.Message}");
66 }
67 else
68 {
69 Console.WriteLine("Disconnected");
70 }
71}
72
73void OnSubscriptionApplied(SubscriptionEventContext ctx)
74{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…