13 lines
608 B
TypeScript
13 lines
608 B
TypeScript
import { w as Plugin, zt as MaybePromise } from "./shared/define-config-CV9D_Qea.mjs";
|
|
|
|
//#region src/plugin/parallel-plugin-implementation.d.ts
|
|
type ParallelPluginImplementation = Plugin;
|
|
type Context = {
|
|
/**
|
|
* Thread number
|
|
*/
|
|
threadNumber: number;
|
|
};
|
|
declare function defineParallelPluginImplementation<Options>(plugin: (Options: Options, context: Context) => MaybePromise<ParallelPluginImplementation>): (Options: Options, context: Context) => MaybePromise<ParallelPluginImplementation>;
|
|
//#endregion
|
|
export { type Context, type ParallelPluginImplementation, defineParallelPluginImplementation }; |