Skip to content

Commit

Permalink
lib: add noop unsubscribe method to Channel
Browse files Browse the repository at this point in the history
  • Loading branch information
simon-id committed Oct 12, 2021
1 parent 9fcc84d commit 931e3d3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/diagnostics_channel.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@ class Channel {
this.subscribe(subscription);
}

unsubscribe() {}

get hasSubscribers() {
return false;
}
Expand Down

0 comments on commit 931e3d3

Please sign in to comment.