deep-foundation / deep-foundation/deeplinks
deep.execute
- Dominant language
- TypeScript
- Stars
- 13
- Forks
- 8
- PR merge metrics
- No merged PRs in 30d
Description
This issue seeks to create a new feature within the 'DeepClient' class - a function called 'execute' which allows for language-specific execution. Here is the desired functionality of the new feature:
- 'execute' should accept an `id` of `Handler` link as input, providing necessary context on the language compatibility for execution.
- If execution can be performed in the current setting (e.g., JS function in a JS environment), then the function should handle the execution directly (for example using `eval`).
- If direct execution isn't feasible due to language compatibility (e.g., JS function in non-JS environment), then 'execute' should perform the task remotely using a docker of the appropriate language. In that case, after execution, the function should return the result from `value` field of `PromiseResult` instance.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.