Stream: jco

Topic: ✔ Should StringLift be emitted for async return values?


view this post on Zulip ktz_alias (Dec 03 2025 at 10:17):

In jco 1.15.4, handling for exporting a JS async function that returns a string has been fixed. I confirmed that this now works correctly.

As for importing JS async functions, I am currently experimenting with support for this feature.
This is still considered experimental, and I am exploring how to correctly handle the number of arguments (nparams) and returning values (e.g., string pointer/length or u32) to JS.

Just wanted to keep you updated on these developments.

view this post on Zulip Notification Bot (Dec 03 2025 at 10:18):

ktz_alias has marked this topic as resolved.

view this post on Zulip Victor Adossi (Dec 03 2025 at 16:54):

Hey just a note here @ktz_alias I looked into the import issue here and I have a test for that too, but the stuff that is broken there basically depends on a PR that I've been working on for a bit now that improves the async support!

Hopefully that will get merged this week and I can merge in the the (working) tests of simple imports as well.


Last updated: Dec 06 2025 at 07:03 UTC