Initial commit: Book management system with Rust Loco backend and Vue 3 frontend

This commit is contained in:
2026-04-30 00:26:47 +08:00
commit 1f22546766
11332 changed files with 1076475 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
import * as Rx from 'rxjs';
import { Command } from '../command';
import { Logger } from '../logger';
import { FlowController } from './flow-controller';
/**
* Restarts commands that fail up to a defined number of times.
*/
export declare class RestartProcess implements FlowController {
private readonly logger;
private readonly scheduler?;
readonly delay: number;
readonly tries: number;
constructor({ delay, tries, logger, scheduler, }: {
delay?: number;
tries?: number;
logger: Logger;
scheduler?: Rx.SchedulerLike;
});
handle(commands: Command[]): {
commands: Command[];
};
}