|
|
|
|
|
by wittydeveloper
1190 days ago
|
|
Here’s how our Builder works:
When a commit is pushed, we fetch your application’s repository from GitHub and compile (if TypeScript) all the files in the first `defer/` folder found.
Then, we require each of those files to retrieve the metadata exposed by the `defer()` helper, on the `default` export (is it a CRON function or not, a function name, concurrency, retries, etc). When a background function gets a call from your application, the `defer()` wrapper intercepts this call and pushes an execution to the Defer API with the function’s name and serialized arguments. I hope it makes thinks clearer, let me know! [update: grammar] |
|