javascript calling a method with return Task type in .net 9.0 preview6, the returned promise is always in pending state #104772
Labels
arch-wasm
WebAssembly architecture
area-System.Runtime.InteropServices.JavaScript
in-pr
There is an active PR which will close this issue when it is merged
os-browser
Browser variant of arch-wasm
Milestone
Description
return Task is fine.
Reproduction Steps
c#
javascript
Expected behavior
PromiseState is resolved
Actual behavior
PromiseState is pending
Regression?
Yes, .net8.0 is fine.
Known Workarounds
No response
Configuration
.NET SDK:9.0.100-preview.6.24328.19
Microsoft.NETCore.App: 9.0.0-preview.6.24327.7
Other information
No response
The text was updated successfully, but these errors were encountered: