Skip to content

fix(napi): callback should be Fn rather than FnOnce#2749

Merged
Brooooooklyn merged 1 commit into
mainfrom
06-28-fix_napi_callback_should_be_fn_rather_than_fnonce
Jun 28, 2025
Merged

fix(napi): callback should be Fn rather than FnOnce#2749
Brooooooklyn merged 1 commit into
mainfrom
06-28-fix_napi_callback_should_be_fn_rather_than_fnonce

Conversation

@Brooooooklyn

Copy link
Copy Markdown
Member

In ThreadsafeFunction::call_with_return_value

In ThreadsafeFunction::call_with_return_value

Copy link
Copy Markdown
Member Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@Brooooooklyn
Brooooooklyn merged commit 56998d5 into main Jun 28, 2025
64 checks passed
@Brooooooklyn
Brooooooklyn deleted the 06-28-fix_napi_callback_should_be_fn_rather_than_fnonce branch June 28, 2025 13:57
@h-a-n-a

h-a-n-a commented Jul 21, 2025

Copy link
Copy Markdown
Contributor

@Brooooooklyn Would you please shed more light on the change? I didn't quite get the root cause. I suppose, for each function call, there should only be one affiliated return value, right?

@Brooooooklyn

Copy link
Copy Markdown
Member Author

@h-a-n-a you are right, it was my mistake

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants