Skip to content

Grain.DeactivateOnIdle

DeactivateOnIdle

View source
protected void DeactivateOnIdle()
Deactivate this activation of the grain after the current grain method call is completed. This call will mark this activation of the current grain to be deactivated and removed at the end of the current method. The next call to this grain will result in a different activation to be used, which typical means a new activation will be created automatically by the runtime.