Skip to content

Commit

Permalink
Add TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
RReverser committed Oct 1, 2024
1 parent 9b3b21f commit 52c268d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples~/quickstart/client/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,14 @@ void Main()
{
AuthToken.Init(".spacetime_csharp_quickstart");

// TODO: just do `var conn = DbConnection...` when OnConnect signature is fixed.
DbConnection? conn = null;

conn = DbConnection.Builder()
.WithUri(HOST)
.WithModuleName(DBNAME)
//.WithCredentials((null, AuthToken.Token))
// TODO: change this to just `(OnConnect)` when signature is fixed in #131.
.OnConnect((identity, authToken) => OnConnect(conn!, identity, authToken))
.OnConnectError(OnConnectError)
.OnDisconnect(OnDisconnect)
Expand Down

0 comments on commit 52c268d

Please sign in to comment.