Skip to content

Rename Events<E>.send() to Events<E>.write() #18963

Open
@shwwwa

Description

@shwwwa

Bevy version

0.16.0

Issue

We obsoleted send() method from EventWriter in favor of write(), why shouldn't we obsolete Events send() method as well (and add write() and write_batch() methods for the sake of consistency?)
https://docs.rs/bevy/latest/bevy/prelude/struct.Events.html#method.send
https://docs.rs/bevy/latest/bevy/prelude/struct.EventWriter.html#method.write

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-ECSEntities, components, systems, and eventsC-UsabilityA targeted quality-of-life change that makes Bevy easier to useD-TrivialNice and easy! A great choice to get started with BevyS-Ready-For-ImplementationThis issue is ready for an implementation PR. Go for it!

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions