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

Method Remove

sdks/csharp/src/STDBUpdateManager.cs:59–73  ·  view source on GitHub ↗
(IDbConnection conn, bool disconnect = false)

Source from the content-addressed store, hash-verified

57 }
58
59 public static bool Remove(IDbConnection conn, bool disconnect = false)
60 {
61 var connections = Instance?.Connections;
62 if (connections != null && connections.Remove(conn))
63 {
64 if (disconnect)
65 {
66 conn.Disconnect();
67 }
68
69 return true;
70 }
71
72 return false;
73 }
74
75 public override void _EnterTree()
76 {

Callers

nothing calls this directly

Calls 1

DisconnectMethod · 0.45

Tested by

no test coverage detected