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
Nick Khyl 866614202c util/eventbus: remove redundant code from eventbus.Publish
eventbus.Publish() calls newPublisher(), which in turn invokes (*Client).addPublisher().
That method adds the new publisher to c.pub, so we don’t need to add it again in eventbus.Publish.

Updates #cleanup

Signed-off-by: Nick Khyl <nickk@tailscale.com>
6 months ago
..
assets util/eventbus: add a debug HTTP handler for the bus 9 months ago
debug-demo util/eventbus: add a helper program for bus development 9 months ago
bench_test.go util/eventbus: add basic throughput benchmarks (#15284) 9 months ago
bus.go util/eventbus: add a debug HTTP handler for the bus 9 months ago
bus_test.go util/eventbus: rework to have a Client abstraction 9 months ago
client.go util/eventbus: remove redundant code from eventbus.Publish 6 months ago
debug.go ipn/localapi,client/local: add debug watcher for bus events (#16239) 6 months ago
debughttp.go util/eventbus: also disable websocket debug on Android 7 months ago
debughttp_off.go util/eventbus: also disable websocket debug on Android 7 months ago
doc.go util/eventbus: initial debugging facilities for the event bus 9 months ago
fetch-htmx.go util/eventbus: add a debug HTTP handler for the bus 9 months ago
publish.go util/eventbus: remove redundant code from eventbus.Publish 6 months ago
queue.go util/eventbus: make internal queue a generic type 9 months ago
subscribe.go util/eventbus: remove redundant code from eventbus.Publish 6 months ago