rolldown
Version:
Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.
14 lines (13 loc) • 637 B
text/typescript
import "./shared/binding-D6vpD1fz.mjs";
import { MaybePromise, Plugin } from "./shared/define-config-2i15IFxp.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 };