rolldown
Version:
Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.
10 lines • 505 B
text/typescript
import { Gt as MaybePromise, T as Plugin } from "./shared/define-config-BoIay7tU.mjs";
type ParallelPluginImplementation = Plugin;
type Context = {
/**
* Thread number
*/
threadNumber: number;
};
export declare function defineParallelPluginImplementation<Options>(plugin: (Options: Options, context: Context) => MaybePromise<ParallelPluginImplementation>): (Options: Options, context: Context) => MaybePromise<ParallelPluginImplementation>;
export type { Context, ParallelPluginImplementation };