Skip to content

Commit b409f8d

Browse files
committed
feat: rename reset method to clear, respond with "Clear" payload
1 parent 12a38c3 commit b409f8d

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/packages/SpeakLiveClient.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,12 +111,12 @@ export class SpeakLiveClient extends AbstractLiveClient {
111111
}
112112

113113
/**
114-
* Requests the server reset the current buffer.
114+
* Requests the server clear the current buffer.
115115
*/
116-
public reset(): void {
116+
public clear(): void {
117117
this.send(
118118
JSON.stringify({
119-
type: "Reset",
119+
type: "Clear",
120120
})
121121
);
122122
}

0 commit comments

Comments
 (0)