| Crates.io | apalis-workflow |
| lib.rs | apalis-workflow |
| version | 0.1.0-alpha.2 |
| created_at | 2025-09-13 09:38:02.786839+00 |
| updated_at | 2025-09-22 08:47:59.928356+00 |
| description | A flexible and composable task workflow engine for rust |
| homepage | |
| repository | https://github.com/geofmureithi/apalis |
| max_upload_size | |
| id | 1837486 |
| size | 61,148 |
This crate provides a flexible and composable workflow engine for [apalis].
The workflow engine allows you to define a sequence of steps, each represented as a service, that can process tasks in a customizable manner. Each step can have pre-processing, main execution, and post-processing hooks, enabling advanced control over task execution flow.
Workflows are built by composing steps, and can be executed using supported backends. The engine supports asynchronous execution, error handling, and integration with the apalis worker system.
apalis backends and workerslet workflow = WorkFlow::new("simple-workflow")
.then(|a: usize| async move { Ok::<_, BoxDynError>(a - 2) })
.delay_for(Duration::from_millis(1000))
.then(|a| async move { Ok::<_, BoxDynError>(a + 3) });
Step trait.WorkFlow.apalis worker.Licensed under MIT or Apache-2.0.