tailscale/util/eventbus
Claus Lensbøl 005e264b54
Some checks failed
checklocks / checklocks (push) Has been cancelled
CodeQL / Analyze (go) (push) Has been cancelled
Dockerfile build / deploy (push) Has been cancelled
CI / gomod-cache (push) Has been cancelled
CI / fuzz (push) Has been cancelled
CI / race-root-integration (1/4) (push) Has been cancelled
CI / race-root-integration (2/4) (push) Has been cancelled
CI / race-root-integration (3/4) (push) Has been cancelled
CI / race-root-integration (4/4) (push) Has been cancelled
CI / test (-race, amd64, 1/3) (push) Has been cancelled
CI / test (-race, amd64, 2/3) (push) Has been cancelled
CI / test (-race, amd64, 3/3) (push) Has been cancelled
CI / test (386) (push) Has been cancelled
CI / test (amd64) (push) Has been cancelled
CI / Windows (${{ matrix.name || matrix.shard}}) (win-bench, benchmarks) (push) Has been cancelled
CI / Windows (${{ matrix.name || matrix.shard}}) (win-shard-1-2, 1/2) (push) Has been cancelled
CI / Windows (${{ matrix.name || matrix.shard}}) (win-shard-2-2, 2/2) (push) Has been cancelled
CI / Windows (${{ matrix.name || matrix.shard}}) (win-tool-go, ./tool/go) (push) Has been cancelled
CI / privileged (push) Has been cancelled
CI / vm (push) Has been cancelled
CI / cross (386, linux) (push) Has been cancelled
CI / cross (amd64, darwin) (push) Has been cancelled
CI / cross (amd64, freebsd) (push) Has been cancelled
CI / cross (amd64, openbsd) (push) Has been cancelled
CI / cross (amd64, windows) (push) Has been cancelled
CI / cross (arm, 5, linux) (push) Has been cancelled
CI / cross (arm, 7, linux) (push) Has been cancelled
CI / cross (arm64, darwin) (push) Has been cancelled
CI / cross (arm64, linux) (push) Has been cancelled
CI / cross (arm64, windows) (push) Has been cancelled
CI / cross (loong64, linux) (push) Has been cancelled
CI / ios (push) Has been cancelled
CI / crossmin (amd64, illumos) (push) Has been cancelled
CI / crossmin (amd64, plan9) (push) Has been cancelled
CI / crossmin (amd64, solaris) (push) Has been cancelled
CI / crossmin (ppc64, aix) (push) Has been cancelled
CI / android (push) Has been cancelled
CI / wasm (push) Has been cancelled
CI / tailscale_go (push) Has been cancelled
CI / depaware (push) Has been cancelled
CI / go_generate (push) Has been cancelled
CI / go_mod_tidy (push) Has been cancelled
CI / licenses (push) Has been cancelled
CI / staticcheck (${{ matrix.name }}) (--with-tags-all=darwin, arm64, darwin, macOS) (push) Has been cancelled
CI / staticcheck (${{ matrix.name }}) (--with-tags-all=linux, amd64, linux, Linux) (push) Has been cancelled
CI / staticcheck (${{ matrix.name }}) (--with-tags-all=windows, amd64, windows, Windows) (push) Has been cancelled
CI / staticcheck (${{ matrix.name }}) (--without-tags-any=windows,darwin,linux --shard=1/4, amd64, linux, Portable (1/4)) (push) Has been cancelled
CI / staticcheck (${{ matrix.name }}) (--without-tags-any=windows,darwin,linux --shard=2/4, amd64, linux, Portable (2/4)) (push) Has been cancelled
CI / staticcheck (${{ matrix.name }}) (--without-tags-any=windows,darwin,linux --shard=3/4, amd64, linux, Portable (3/4)) (push) Has been cancelled
CI / staticcheck (${{ matrix.name }}) (--without-tags-any=windows,darwin,linux --shard=4/4, amd64, linux, Portable (4/4)) (push) Has been cancelled
CI / notify_slack (push) Has been cancelled
CI / merge_blocker (push) Has been cancelled
CI / check_mergeability_strict (push) Has been cancelled
CI / check_mergeability (push) Has been cancelled
util/eventbus/eventbustest: add support for synctest instead of timers (#17522)
Before synctest, timers was needed to allow the events to flow into the
test bus. There is still a timer, but this one is not derived from the
test deadline and it is mostly arbitrary as synctest will render it
practically non-existent.

With this approach, tests that do not need to test for the absence of
events do not rely on synctest.

Updates #15160

Signed-off-by: Claus Lensbøl <claus@tailscale.com>
2025-10-10 15:33:30 -04:00
..
assets util/eventbus: add a debug HTTP handler for the bus 2025-03-12 17:47:47 -07:00
debug-demo cmd/tailscaled, ipn/localapi, util/eventbus: don't link in regexp when debug is omitted 2025-09-30 12:13:17 -07:00
eventbustest util/eventbus/eventbustest: add support for synctest instead of timers (#17522) 2025-10-10 15:33:30 -04:00
bench_test.go util/eventbus: add basic throughput benchmarks (#15284) 2025-03-13 08:06:20 -07:00
bus_test.go util/eventbus: add a function-based subscriber type (#17432) 2025-10-07 16:43:22 -07:00
bus.go util/eventbus: flesh out docs a bit 2025-09-25 09:48:33 -07:00
client.go util/eventbus: add a function-based subscriber type (#17432) 2025-10-07 16:43:22 -07:00
debug.go cmd/tailscaled, ipn/localapi, util/eventbus: don't link in regexp when debug is omitted 2025-09-30 12:13:17 -07:00
debughttp_off.go cmd/tailscaled, ipn/localapi, util/eventbus: don't link in regexp when debug is omitted 2025-09-30 12:13:17 -07:00
debughttp.go cmd/tailscaled, ipn/localapi, util/eventbus: don't link in regexp when debug is omitted 2025-09-30 12:13:17 -07:00
doc.go util/eventbus: add test helpers to simplify testing events (#16294) 2025-06-25 09:00:34 -04:00
fetch-htmx.go util/eventbus: add a debug HTTP handler for the bus 2025-03-12 17:47:47 -07:00
monitor.go util/eventbus: add a Done method to the Monitor type (#17263) 2025-09-24 09:14:41 -07:00
publish.go util/eventbus: flesh out docs a bit 2025-09-25 09:48:33 -07:00
queue.go util/eventbus: make internal queue a generic type 2025-03-05 18:29:34 -08:00
subscribe.go util/eventbus: run subscriber functions in a goroutine (#17510) 2025-10-10 09:03:38 -07:00