Skip to main content

@wildix/wda-history-client > WdaHistoryClient > destroy

WdaHistoryClient.destroy() method

Destroy underlying resources, like sockets. It's usually not necessary to do this. However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed. Otherwise, sockets might stay open for quite a long time before the server terminates them.

Signature:

destroy(): void;

Returns:

void