mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-07 06:15:49 +00:00
18 lines
337 B
Plaintext
18 lines
337 B
Plaintext
## disconnect
|
|
|
|
`disconnect(): Promise<void>`
|
|
|
|
Tells the RippleAPI instance to disconnect from its rippled server.
|
|
|
|
### Parameters
|
|
|
|
This method has no parameters.
|
|
|
|
### Return Value
|
|
|
|
This method returns a promise that resolves with a void value when a connection is destroyed.
|
|
|
|
### Example
|
|
|
|
See [Boilerplate](#boilerplate) for code sample
|