Joonas Westlin 4/7/2018

Using C# await against JS Promises in Blazor

Read Original

This article provides a detailed technical exploration of calling JavaScript functions that return Promises from C# code in a Blazor web framework. It explains the core concept of using TaskCompletionSource to bridge the async models, includes code examples for a PromiseCallbackHandler, and discusses the experimental setup with Blazor 0.1.0.

Using C# await against JS Promises in Blazor

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser