Skip to content

feat: implement AmpFutureAdapter for Amphp v3 Promise integration to …#44

Merged
bpteam merged 1 commit into
masterfrom
amp-future-adapter
Apr 15, 2026
Merged

feat: implement AmpFutureAdapter for Amphp v3 Promise integration to …#44
bpteam merged 1 commit into
masterfrom
amp-future-adapter

Conversation

@bpteam
Copy link
Copy Markdown
Contributor

@bpteam bpteam commented Apr 15, 2026

This pull request adds first-class support for Amphp v3 asynchronous execution to the project, enabling fully non-blocking GraphQL operations. The main changes include the introduction of a new AmpFutureAdapter for integrating Amphp Future objects with the webonyx/graphql-php promise system, as well as comprehensive documentation and usage instructions in the README.md.

Amphp v3 async execution support:

  • Added a new AmpFutureAdapter class in src/Executor/AmpFutureAdapter.php to bridge Amphp v3 Future objects with the webonyx/graphql-php promise system, providing all required methods for promise adaptation, including handling of fulfilled, rejected, and combined promises.

Documentation improvements:

  • Updated the README.md to add a dedicated section on Amphp v3 async execution, including setup instructions, usage notes, and installation guidance for the amphp/amp package.
  • Improved the feature list in README.md by linking to the new Amphp v3 async execution documentation.

@bpteam bpteam merged commit 87091ca into master Apr 15, 2026
3 checks passed
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