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

kernel-messaging: to get the returned value instead of a JSON for display #267

Open
MRYingLEE opened this issue Aug 31, 2024 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@MRYingLEE
Copy link

Problem

In the example kernel-messaging, for the code "3+5", JSON object {"data": {"text/plain":"8"},...} will be returned and displayed. Actually, the logic value is 5 instead of "5". It is hard for the following code to consume the result.

Just wonder there is an intuitive way to get the returned value from code instead of something to display.

Proposed Solution

In the example, provide an example function similar to
async runCodeInKernel(code: string)=> any;

Thanks,

@MRYingLEE MRYingLEE added the enhancement New feature or request label Aug 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant