Skip to content

Special case EventLoopPromise.succeed() when Value is Void #2310

@glbrntt

Description

@glbrntt

To succeed an EventLoopPromise<Void> users must pass a void-value to it, e.g.:

  • promise.succeed(())
  • promise.succeed(Void())

It would be nice if we could spell this as promise.succeed().

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions