You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Claus Lensbøl
005e264b54
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>
6 months ago
..
assets
util/eventbus: add a debug HTTP handler for the bus
1 year ago
debug-demo
cmd/tailscaled, ipn/localapi, util/eventbus: don't link in regexp when debug is omitted
7 months ago
eventbustest
util/eventbus/eventbustest: add support for synctest instead of timers ( #17522 )
6 months ago
bench_test.go
util/eventbus: add basic throughput benchmarks ( #15284 )
1 year ago
bus.go
util/eventbus: flesh out docs a bit
7 months ago
bus_test.go
util/eventbus: add a function-based subscriber type ( #17432 )
6 months ago
client.go
util/eventbus: add a function-based subscriber type ( #17432 )
6 months ago
debug.go
cmd/tailscaled, ipn/localapi, util/eventbus: don't link in regexp when debug is omitted
7 months ago
debughttp.go
cmd/tailscaled, ipn/localapi, util/eventbus: don't link in regexp when debug is omitted
7 months ago
debughttp_off.go
cmd/tailscaled, ipn/localapi, util/eventbus: don't link in regexp when debug is omitted
7 months ago
doc.go
util/eventbus: add test helpers to simplify testing events ( #16294 )
10 months ago
fetch-htmx.go
util/eventbus: add a debug HTTP handler for the bus
1 year ago
monitor.go
util/eventbus: add a Done method to the Monitor type ( #17263 )
7 months ago
publish.go
util/eventbus: flesh out docs a bit
7 months ago
queue.go
util/eventbus: make internal queue a generic type
1 year ago
subscribe.go
util/eventbus: run subscriber functions in a goroutine ( #17510 )
6 months ago