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

Create global functions manager #2103

Merged
merged 14 commits into from
Jun 5, 2023
Merged

Create global functions manager #2103

merged 14 commits into from
Jun 5, 2023

Conversation

Janpot
Copy link
Member

@Janpot Janpot commented May 31, 2023

Extracting functions related logic out of the datasources and abstract it as a global project primitive.

Laying the groundwork for support for multiple files and extracting types. Replacing the childprocess with Node.js workerthreads. The code is more stable and easier to understand. There are two abstractions now:

  1. the builder that scans the resources folder for function files and builds a commonjs file for it
  2. the dev runtime worker, which gets restarted when the environment changes, and which runs requests for any of the functions

@Janpot Janpot added the core Infrastructure work going on behind the scenes label May 31, 2023
@Janpot Janpot marked this pull request as ready for review June 1, 2023 17:06
@Janpot Janpot enabled auto-merge (squash) June 5, 2023 09:03
@Janpot Janpot disabled auto-merge June 5, 2023 09:04
@Janpot Janpot enabled auto-merge (squash) June 5, 2023 09:13
@Janpot Janpot merged commit a364d15 into mui:master Jun 5, 2023
@Janpot Janpot deleted the functions-manager branch June 5, 2023 09:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Infrastructure work going on behind the scenes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant