• Felix Lange's avatar
    event: add FeedOf[T] (#26310) · 3775e198
    Felix Lange authored
    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.
    3775e198
Name
Last commit
Last update
..
event.go Loading commit data...
event_test.go Loading commit data...
example_feed_test.go Loading commit data...
example_scope_test.go Loading commit data...
example_subscription_test.go Loading commit data...
example_test.go Loading commit data...
feed.go Loading commit data...
feed_test.go Loading commit data...
feedof.go Loading commit data...
feedof_test.go Loading commit data...
subscription.go Loading commit data...
subscription_test.go Loading commit data...