Skip to content

Commit

Permalink
feat: rename reset method to clear, respond with "Clear" payload
Browse files Browse the repository at this point in the history
  • Loading branch information
naomi-lgbt committed Sep 18, 2024
1 parent 12a38c3 commit b409f8d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/packages/SpeakLiveClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,12 +111,12 @@ export class SpeakLiveClient extends AbstractLiveClient {
}

/**
* Requests the server reset the current buffer.
* Requests the server clear the current buffer.
*/
public reset(): void {
public clear(): void {
this.send(
JSON.stringify({
type: "Reset",
type: "Clear",
})
);
}
Expand Down

0 comments on commit b409f8d

Please sign in to comment.