Skip to content

Commit

Permalink
Add [Symbol.dispose]
Browse files Browse the repository at this point in the history
  • Loading branch information
littledan authored Feb 29, 2024
1 parent 6789c89 commit c521ef0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,10 @@ namespace Signal {
// Returns the set of sources in the Watcher's set which are still dirty, or is a computed signal
// with a source which is dirty or pending and hasn't yet been re-evaluated
getPending(): Signal[];

// Unwatch all signals in this watcher
// Equivalent to this.unwatch(...Signal.subtle.introspectSinks(this))
[Symbol.dispose](): void;
}
}
}
Expand Down

0 comments on commit c521ef0

Please sign in to comment.