Skip to content

Commit

Permalink
Merge pull request #236 from codefrau/patch-1
Browse files Browse the repository at this point in the history
README.md: bug in Signal.subtle.Watcher.prototype.watch pseudocode
  • Loading branch information
NullVoxPopuli authored Aug 10, 2024
2 parents acd4093 + f75805d commit a333345
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -608,7 +608,7 @@ With [AsyncContext](https://github.com/tc39/proposal-async-context), the callbac
1. If this was the first sink, then recurse up to sources to add that signal as a sink.
1. Set `frozen` to true.
1. Call the `watched` callback if it exists.
1. Restore `frozen` to true.
1. Restore `frozen` to false.
1. If the Signal's `state` is `~waiting~`, then set it to `~watching~`.
#### Method: `Signal.subtle.Watcher.prototype.unwatch(...signals)`
Expand Down

0 comments on commit a333345

Please sign in to comment.