mirror of https://github.com/golang/go.git
The debounce API becomes both more testable and more elegant when using channels rather than callbacks to signal events, as suggested by bcmills in CL 333349. Adopt these suggestions. Fixes golang/go#45085 Change-Id: Ic1843f582d514af8aa109c24f5e3311536e54a60 Reviewed-on: https://go-review.googlesource.com/c/tools/+/334252 Trust: Robert Findley <rfindley@google.com> Run-TryBot: Robert Findley <rfindley@google.com> gopls-CI: kokoro <noreply+kokoro@google.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Bryan C. Mills <bcmills@google.com> |
||
|---|---|---|
| .. | ||
| analysisinternal | ||
| apidiff | ||
| event | ||
| fakenet | ||
| fastwalk | ||
| gocommand | ||
| gopathwalk | ||
| imports | ||
| jsonrpc2 | ||
| jsonrpc2_v2 | ||
| lsp | ||
| memoize | ||
| mod | ||
| packagesinternal | ||
| proxydir | ||
| span | ||
| stack | ||
| testenv | ||
| tool | ||
| typeparams | ||
| typesinternal | ||
| xcontext | ||