IConnection.CloseAsync()
DESCRIPTION
Close this connection asynchronously.
DECLARATION
System.Threading.Tasks.Task CloseAsync()
ERRORS
T:Nabto.Edge.Client.NabtoException: Thrown with error codeOPERATION_IN_PROGRESSif another close is in progreess.T:Nabto.Edge.Client.NabtoException: Thrown with error codeSTOPPEDif the client instance was stopped.T:Nabto.Edge.Client.NabtoException: Thrown with error codeNOT_CONNECTEDif the connection is not established.
RETURNS
Task completed when the close succeeds or fails.