Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ Feat ] Patched Prompt #1

Merged
merged 5 commits into from
Jul 13, 2024
Merged

[ Feat ] Patched Prompt #1

merged 5 commits into from
Jul 13, 2024

Conversation

ProjektGopher
Copy link
Member

@ProjektGopher ProjektGopher commented Jul 13, 2024

This is a temporary solution to laravel/prompts#154 having been closed.

That PR was a 'compatibility' PR to enable easy integration of the AsyncPrompt, PatchedPrompt will act as a 'shim' until I'm able to convince Taylor to approve my PR.

The whole point of this shim is to extract the looping mechanisms into separate functions that can be overridden in implementing classes, enabling the easy use of a ReactPHP event loop.

Also includes a bunch of code styling.

@ProjektGopher ProjektGopher merged commit 2fa76cc into main Jul 13, 2024
@ProjektGopher ProjektGopher deleted the feat/patched_prompt branch July 13, 2024 01:40
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