Describe how the interaction context behaves. A LongRunning context does not close the underlying connection after a request, it has to be done manually. A OneTime context however will close the connection afterwards.
LongRunning
OneTime
Initialize a StateQueryClient from an InteractionContext
Create a client for submitting signed transactions to underlying Cardano chain.
Get the server health. This can be safely polled at regular intervals for monitoring.
Describe how the interaction context behaves. A
LongRunning
context does not close the underlying connection after a request, it has to be done manually. AOneTime
context however will close the connection afterwards.