Skip to content

Commit a333345

Browse files
Merge pull request #236 from codefrau/patch-1
README.md: bug in Signal.subtle.Watcher.prototype.watch pseudocode
2 parents acd4093 + f75805d commit a333345

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -608,7 +608,7 @@ With [AsyncContext](https://github.com/tc39/proposal-async-context), the callbac
608608
1. If this was the first sink, then recurse up to sources to add that signal as a sink.
609609
1. Set `frozen` to true.
610610
1. Call the `watched` callback if it exists.
611-
1. Restore `frozen` to true.
611+
1. Restore `frozen` to false.
612612
1. If the Signal's `state` is `~waiting~`, then set it to `~watching~`.
613613
614614
#### Method: `Signal.subtle.Watcher.prototype.unwatch(...signals)`

0 commit comments

Comments
 (0)