mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-07-27 00:31:02 +00:00
Introduce the core algorithm of task cancelation
This commit is contained in:
committed by
Clément Renault
parent
b2c5bc67b7
commit
725158b454
@ -127,6 +127,7 @@ impl BatchKind {
|
||||
|
||||
impl BatchKind {
|
||||
/// Returns a `ControlFlow::Break` if you must stop right now.
|
||||
// TODO use an AutoBatchKind as input
|
||||
pub fn new(task_id: TaskId, kind: KindWithContent) -> ControlFlow<BatchKind, BatchKind> {
|
||||
use AutobatchKind as K;
|
||||
|
||||
|
Reference in New Issue
Block a user