Skip to content

Commit abd385a

Browse files
committed
feat: Promote Symbol.dispose for WebSocketSubscription to a stable API
1 parent dee9874 commit abd385a

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/adapters/ws/web-socket-subscription.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,6 @@ export class WebSocketSubscription implements mastodon.streaming.Subscription {
7979
return this.values();
8080
}
8181

82-
/**
83-
* @experimental This is an experimental API.
84-
*/
8582
[Symbol.dispose](): void {
8683
this.unsubscribe();
8784
}

0 commit comments

Comments
 (0)