Skip to content

Use sync variants of interop methods in IJSInProcessObjectReference example #35452

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

Merged
merged 1 commit into from
May 13, 2025

Conversation

oroztocil
Copy link
Member

@oroztocil oroztocil commented May 13, 2025

It seems more fitting to show sync variants of interop methods in the code example that creates IJSInProcessObjectReference using the sync InvokeNew.


Internal previews

📄 File 🔗 Preview link
aspnetcore/blazor/javascript-interoperability/call-javascript-from-dotnet.md Call JavaScript functions from .NET methods in ASP.NET Core Blazor

It seems more fitting to show sync variants of interop methods in the code example that creates `IJSInProcessObjectReference` using the sync `InvokeNew`.
@oroztocil oroztocil requested a review from guardrex as a code owner May 13, 2025 11:10
@oroztocil oroztocil changed the title Update call-javascript-from-dotnet.md Use sync variants of interop methods in IJSInProcessObjectReference example May 13, 2025
@guardrex guardrex enabled auto-merge (squash) May 13, 2025 11:11
@guardrex guardrex merged commit 4fdd01c into dotnet:main May 13, 2025
3 checks passed
@oroztocil oroztocil deleted the patch-2 branch May 13, 2025 11:14
@guardrex guardrex mentioned this pull request May 13, 2025
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