You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've read a lot about GrainCancellationToken and the proposed methods to improve it - see the debate on GitHub
I couldn't understand one thing; probably someone here can help clear things. I would expect a GrainCancellationToken to be similar to a CancellationToken approach for HTTP controllers, meaning if ttl is reached, implicitly cancel the request or cancel the operation.
I created a simple hello world program that tested it, registering the CancellationToken to the cancel method of GrainCancellationTokenSource, but it wasn't implicitly triggered. I had to explicitly call ThrowIfCancellationRequested
What do you think? Am I missing something?
The text was updated successfully, but these errors were encountered:
I've read a lot about
GrainCancellationToken
and the proposed methods to improve it - see the debate on GitHubI couldn't understand one thing; probably someone here can help clear things. I would expect a
GrainCancellationToken
to be similar to aCancellationToken
approach for HTTP controllers, meaning if ttl is reached, implicitly cancel the request or cancel the operation.I created a simple hello world program that tested it, registering the
CancellationToken
to the cancel method ofGrainCancellationTokenSource
, but it wasn't implicitly triggered. I had to explicitly callThrowIfCancellationRequested
What do you think? Am I missing something?
The text was updated successfully, but these errors were encountered: