Files
planer/frontend/node_modules/rolldown/dist/parallel-plugin.d.mts
2026-07-22 16:12:23 +02:00

13 lines
608 B
TypeScript

import { Ht as MaybePromise, T as Plugin } from "./shared/define-config-BhJ90aEv.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 };