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

Page.ExposeFunctionAsync aot don't work #2892

Open
yuanfeng-net opened this issue Mar 8, 2025 · 2 comments · May be fixed by #2894
Open

Page.ExposeFunctionAsync aot don't work #2892

yuanfeng-net opened this issue Mar 8, 2025 · 2 comments · May be fixed by #2894

Comments

@yuanfeng-net
Copy link

Image

await page.ExposeFunctionAsync("getCustomString", async () => { await Task.Delay(100); return "Hello from C#!"; });

@yuanfeng-net
Copy link
Author

Image

@yuanfeng-net yuanfeng-net changed the title Page.ExposeFunctionAsync aot bug Page.ExposeFunctionAsync aot don't work Mar 8, 2025
@kblok kblok linked a pull request Mar 10, 2025 that will close this issue
@kblok
Copy link
Member

kblok commented Mar 10, 2025

@yuanfeng-net do you want to try #2894?

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 a pull request may close this issue.

2 participants