You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/util/eventbus
M. J. Fromberger 48029a897d
util/eventbus: allow test expectations reporting only an error (#17146)
Extend the Expect method of a Watcher to allow filter functions that report
only an error value, and which "pass" when the reported error is nil.

Updates #15160

Change-Id: I582d804554bd1066a9e499c1f3992d068c9e8148
Signed-off-by: M. J. Fromberger <fromberger@tailscale.com>
4 months ago
..
assets util/eventbus: add a debug HTTP handler for the bus 10 months ago
debug-demo util/eventbus: add a helper program for bus development 10 months ago
eventbustest util/eventbus: allow test expectations reporting only an error (#17146) 4 months ago
bench_test.go util/eventbus: add basic throughput benchmarks (#15284) 10 months ago
bus.go util/eventbus: fix docstrings (#16401) 6 months ago
bus_test.go util/eventbus: add a Done channel to the Client (#17118) 4 months ago
client.go util/eventbus: add a Done channel to the Client (#17118) 4 months ago
debug.go client/local,cmd/tailscale/cli,ipn/localapi: expose eventbus graph (#16597) 6 months ago
debughttp.go util/eventbus: add ts_omit_debugeventbus 4 months ago
debughttp_off.go util/eventbus: add ts_omit_debugeventbus 4 months ago
doc.go util/eventbus: add test helpers to simplify testing events (#16294) 6 months ago
fetch-htmx.go util/eventbus: add a debug HTTP handler for the bus 10 months ago
publish.go util/eventbus: remove redundant code from eventbus.Publish 7 months ago
queue.go util/eventbus: make internal queue a generic type 10 months ago
subscribe.go util/eventbus: remove redundant code from eventbus.Publish 7 months ago