Class JoinableTaskTokenTracker
- Namespace
- Nerdbank.JsonRpc
- Assembly
- Nerdbank.JsonRpc.dll
Correlates JoinableTask tokens within and between JsonRpc instances in a process that does not use a JoinableTaskFactory, for purposes of mitigating deadlocks in processes that do.
public class JoinableTaskTokenTracker
- Inheritance
-
JoinableTaskTokenTracker
- Inherited Members
Remarks
When a request carrying a JoinableTask token is received by a JsonRpc instance without a JoinableTaskFactory, the token is stored in this tracker for the duration of the request's asynchronous flow so that outbound requests made while servicing it (on any JsonRpc instance that shares this tracker) forward the token onward.