typedb-driver
typedb-driver copied to clipboard
Rearchitect pulse mechanism
What is the goal of this PR?
We've moved the pulse mechanism from session to client. Architecturally it makes more sense - the pulse is a mechanism to detect liveness and it's the client that may crash or gets cut off from the network, not any particular individual session instance owned by the client.
What are the changes implemented in this PR?
- Move the pulse mechanism from session to client
- Replace various superfluous
create
methods with regular constructors