The only way for your example add function to fail - even if called asynchronously - is for it to trap.
Ah, okay thanks. And also if C# or JS exception happens in the implementation of add, generated binding needs to trap. My problem A is also solved.
Pavel Šavara has marked this topic as resolved.
Last updated: Dec 06 2025 at 06:05 UTC