Commit Graph

4 Commits

Author SHA1 Message Date
Pranav K d46d569b81 Simplify JSRuntime method signature (dotnet/extensions#2188)
\n\nCommit migrated from 9c392a92ef
2019-08-16 16:19:23 -07:00
Pranav K ef83e3359d Change JSInterop to avoid using async locals (dotnet/extensions#2163)
* Remove the use of async local JSRuntime

* Update DotNetDispatcher to accept a JSRuntime instance rather than use a ambient value.
* Modify DotNetObjectReference to start tracking it's value during serialization.
\n\nCommit migrated from ae9878bb99
2019-08-15 17:14:03 -07:00
Pranav K 9372816b7c API Review: JSRuntime (dotnet/extensions#2166)
* API Review: JSRuntime

* Rename JSRuntimeBase -> JSRuntime
* Rename JSInProcessRuntimeBase -> JSInProcessRuntime
* Rename DotNetObjectRef -> DotNetObjectReference
* Update JSRuntime to return ValueTask
* Make InvokeAsync APIs that explicitly cancels and API that default cancels more crisp
* Introduce void invoking APIs
* Fixup method names on DotNetDispatcher

\n\nCommit migrated from 93d3ae4485
2019-08-14 12:24:35 -07:00
Pranav K 950b3873b1 PR comments
\n\nCommit migrated from 791c96b143
2019-07-23 18:39:17 -07:00