You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
1 year ago | |
|---|---|---|
| .. | ||
| LINGYUN/Abp/BackgroundTasks/Hangfire | 4 years ago | |
| LINGYUN.Abp.BackgroundTasks.Hangfire.csproj | 2 years ago | |
| README.EN.md | 1 year ago | |
README.EN.md
LINGYUN.Abp.BackgroundTasks.Hangfire
Background task module implementation based on Hangfire.
Configuration and Usage
Module reference:
[DependsOn(typeof(AbpBackgroundTasksHangfireModule))]
public class YouProjectModule : AbpModule
{
// other
}
Features
- Integrates with Hangfire for background job processing
- Supports job execution events and monitoring
- Implements distributed locking for job execution
- Provides job execution context and result handling
- Includes job parameter management
- Supports job cancellation and timeout handling
Components
HangfireJobExecutedAttribute: Handles job execution events and lockingHangfireJobSimpleAdapter: Adapts job execution to the Hangfire infrastructure- Job event handling with support for:
- Before execution events
- After execution events
- Execution result handling
- Error handling and logging
Job Execution Flow
- Job scheduling through Hangfire
- Pre-execution locking (if configured)
- Job execution with context
- Event handling and result processing
- Lock release and cleanup