IStateIsFinal Property |
Namespace: Hangfire.States
Final states define a termination stage of a background job processing pipeline. Background jobs in a final state is considered as finished with no further processing required.
The state machine marks finished background jobs to be expired within an interval that is defined in the JobExpirationTimeout property that is available from a state changing filter that implements the IApplyStateFilter interface.
Notes to Implementers |
---|
When implementing this property, always hard-code this property to or . Hangfire does not work with states that can be both intermediate and final yet. Don't define a public setter for this property. |