go-ethereum/event
Felix Lange 3775e198df
event: add FeedOf[T] (#26310)
This PR adds a new type event.FeedOf[T], which is like event.Feed but parameterized
over the channel element type. Performance is unchanged, and it still uses reflect. But
unlike Feed, the generic version doesn't need to type-check interface{} arguments.
All panic cases are gone from the API.
2022-12-09 16:20:46 +01:00
..
event.go event, whisper/whisperv6: use defer where possible (#20940) 2020-04-28 10:53:08 +02:00
event_test.go all: remove redundant conversions and import names (#21903) 2020-11-25 21:00:23 +01:00
example_feed_test.go all: update license information 2017-04-14 10:29:00 +02:00
example_scope_test.go all: update license information 2017-04-14 10:29:00 +02:00
example_subscription_test.go all: update license information 2017-04-14 10:29:00 +02:00
example_test.go core, eth, event, miner, xeth: fix event post / subscription race 2015-10-12 16:22:03 +03:00
feed.go event: add missing unlock before panic (#20653) 2020-02-12 10:33:31 +01:00
feed_test.go all: remove redundant conversions and import names (#21903) 2020-11-25 21:00:23 +01:00
feedof.go event: add FeedOf[T] (#26310) 2022-12-09 16:20:46 +01:00
feedof_test.go event: add FeedOf[T] (#26310) 2022-12-09 16:20:46 +01:00
subscription.go event: add ResubscribeErr (#22191) 2021-01-21 13:47:38 +01:00
subscription_test.go event: add ResubscribeErr (#22191) 2021-01-21 13:47:38 +01:00