Orleans: Feature request: IActivationFilter

Created on 27 Apr 2018  路  4Comments  路  Source: dotnet/orleans

In obit you have this extension interface: https://github.com/orbit/orbit/blob/master/actors/core/src/main/java/cloud/orbit/actors/extensions/LifetimeExtension.java

I thing it would be great to introduce IActionFilter with a similar signature to IIncomingGrainCallFilter.

Use cases:

  1. Custom storage solutions
  2. Logging
  3. Exception handling
  4. Integration to Orleans Dashboard
hacktoberfest help wanted

Most helpful comment

+1 on this request. We have a need for the same. It would be great to have something like IIncomingGrainCallFilter for activations and de-activations

All 4 comments

How should the API look, @SebastianStehle / others?

The IIncomingGrainCallFilter and IIncomingGrainCallContext is great. Would be good to have something similar with a Invoke delegate to control when your code is running.

+1 on this request. We have a need for the same. It would be great to have something like IIncomingGrainCallFilter for activations and de-activations

Was this page helpful?
0 / 5 - 0 ratings