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

Donations after approved don't go back to pyodide, but are send to the bridge #31

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

trbKnl
Copy link
Contributor

@trbKnl trbKnl commented Oct 31, 2024

Fixes this issue

d3i-infra#24

Why?

In case of a donation, the donation is not send back to pyodide, but its send to the bridge. Which makes more sense, because the round trip is not necessary (and can cause problems).

So instead of:

extraction > consent_form > worker_engine > py_worker >  worker_engine > bridge

its now:

extraction > consent_form > worker_engine > bridge

Changes

Major changes are in worker_engine.tsx, handleRunClycle can now intercept responses and script.py changed, it's self explanatory but good to realize!

…e command router, who dispatches them to the bridge
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