conficient / BlazorTemplater

A library that generates HTML (e.g. for emails) from Razor Components
Apache License 2.0
146 stars 16 forks source link

Feature async render #33

Open PhotoAtomic opened 1 year ago

PhotoAtomic commented 1 year ago

This is my proposed solution to this issue it was independently developed from the other PR which I've noticed exist only after the facts :( sorry

This solution leverages on the already existing NextRender task without introducing additional synchronization mechanisms like semaphores. As said in the above mentioned issue, the solution have a little of code duplication, there are easy way to fix it and i'm happy to apply the preferred one, let's just discuss it. options are:

PhotoAtomic commented 1 year ago

I propose to evaluate #30 instead of this one, because this solution was too rushed and doesn't supports certain scenarios at its current state.