Skip to content

Clarify optional promise callbacks#213

Merged
GrahamCampbell merged 1 commit into
2.5from
backport-2.5-readme-callback-docs
May 24, 2026
Merged

Clarify optional promise callbacks#213
GrahamCampbell merged 1 commit into
2.5from
backport-2.5-readme-callback-docs

Conversation

@GrahamCampbell
Copy link
Copy Markdown
Member

This updates the 2.5 README to document the actual PromiseInterface::then() signature, where fulfillment and rejection callbacks are optional. It also explains that omitted handlers forward the existing fulfillment value or rejection reason, which matches the current 2.x behavior without bringing over the broader 3.0 typing documentation.

@GrahamCampbell GrahamCampbell added this to the 2.5.0 milestone May 24, 2026
@GrahamCampbell GrahamCampbell merged commit af08b04 into 2.5 May 24, 2026
26 checks passed
@GrahamCampbell GrahamCampbell deleted the backport-2.5-readme-callback-docs branch May 24, 2026 21:16
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.

1 participant