Skip to content

Commit

Permalink
cohre(core): LIT-2560 - JSDoc disconnect() method :)
Browse files Browse the repository at this point in the history
  • Loading branch information
MaximusHaximus committed Mar 12, 2024
1 parent 8a6f97b commit 655091e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/core/src/lib/lit-core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -347,6 +347,9 @@ export class LitCore {
}
};

/**
* Stops internal listeners/polling that refresh network state and watch for epoch changes
*/
async disconnect() {
this._stopListeningForNewEpoch();
this._stopNetworkPolling();
Expand Down

0 comments on commit 655091e

Please sign in to comment.