You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The invoker.ts file of ~600 lines contains dozens of pieces of logic that are somewhat unrelated:
Error handling
Serving
Routing
Eventing
Logging
This makes the framework difficult to understand and introduces many "global" variables. It would be much easier to separate some of these functions out into separate files.
The text was updated successfully, but these errors were encountered:
* refactor: Move the logic to load user's function to loader.ts
This separates the logic to load user's function and one to start the webserver. Moves the function signature type definition to function.ts. Also, adds more testcases for the function loading logic.
See also: #134
* fix: Add comments to test functions
* fix: Fix loader.ts tests
* fix: Remove unnecessary closure
The
invoker.ts
file of ~600 lines contains dozens of pieces of logic that are somewhat unrelated:This makes the framework difficult to understand and introduces many "global" variables. It would be much easier to separate some of these functions out into separate files.
The text was updated successfully, but these errors were encountered: