Skip to content

Mark publish() as must_use #4950

@suzmue

Description

@suzmue

Ignoring the result of a publish operation is an antipattern in Pub/Sub. Mark the future as "must_use" so that it needs to be explicitly ignored.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions