Skip to content

docs: improve README wording#55

Closed
Rohan5commit wants to merge 1 commit into
sindresorhus:mainfrom
Rohan5commit:docs/fix-readme-wording-20260323
Closed

docs: improve README wording#55
Rohan5commit wants to merge 1 commit into
sindresorhus:mainfrom
Rohan5commit:docs/fix-readme-wording-20260323

Conversation

@Rohan5commit

Copy link
Copy Markdown

Summary

  • improve one README sentence by clarifying the .cancel() behavior description

Related issue

  • N/A (trivial docs wording fix)

Guideline alignment

  • CONTRIBUTING: none found in the repo root or .github on main
  • PR template: none found in the repo root or .github on main

Validation

  • Not run (docs-only change)

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR clarifies the README description of the .cancel() behavior on the promise returned by pEvent(), making it clearer that calling .cancel() leaves the promise pending rather than implying a different terminal state.

Changes:

  • Update README wording from “never be settled” to “remain unsettled” for .cancel() behavior.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@sindresorhus

Copy link
Copy Markdown
Owner

No thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants