| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 625be75 commit 004eafb
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -162,7 +162,7 @@ added: | |||
| 162 | 162 | changes: | |
| 163 | 163 | - version: REPLACEME | |
| 164 | 164 | pr-url: https://github.com/nodejs/node/pull/40433 | |
| 165 | - description: Added return value. | ||
| 165 | + description: Added return value. Added to channels without subscribers. | ||
| 166 | 166 | --> | |
| 167 | 167 | ||
| 168 | 168 | * `onMessage` {Function} The previous subscribed handler to remove | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -81,6 +81,10 @@ class Channel { | |||
| 81 | 81 | this.subscribe(subscription); | |
| 82 | 82 | } | |
| 83 | 83 | ||
| 84 | + unsubscribe() { | ||
| 85 | + return false; | ||
| 86 | + } | ||
| 87 | + | ||
| 84 | 88 | get hasSubscribers() { | |
| 85 | 89 | return false; | |
| 86 | 90 | } | |
| Back | FazBrowse Home | New Git URL |
0 commit comments