Website Structure
This commit is contained in:
parent
62812f2090
commit
71f0676a62
22365 changed files with 4265753 additions and 791 deletions
17
Frontend-Learner/node_modules/nitropack/dist/runtime/internal/task.d.ts
generated
vendored
Normal file
17
Frontend-Learner/node_modules/nitropack/dist/runtime/internal/task.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
import type { Task, TaskContext, TaskPayload, TaskResult } from "nitropack/types";
|
||||
/** @experimental */
|
||||
export declare function defineTask<RT = unknown>(def: Task<RT>): Task<RT>;
|
||||
/** @experimental */
|
||||
export declare function runTask<RT = unknown>(name: string, { payload, context, }?: {
|
||||
payload?: TaskPayload;
|
||||
context?: TaskContext;
|
||||
}): Promise<TaskResult<RT>>;
|
||||
/** @experimental */
|
||||
export declare function startScheduleRunner(): void;
|
||||
/** @experimental */
|
||||
export declare function getCronTasks(cron: string): string[];
|
||||
/** @experimental */
|
||||
export declare function runCronTasks(cron: string, ctx: {
|
||||
payload?: TaskPayload;
|
||||
context?: TaskContext;
|
||||
}): Promise<TaskResult[]>;
|
||||
Loading…
Add table
Add a link
Reference in a new issue