UNPKG

rolldown

Version:

Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.

13 lines (12 loc) 608 B
import { T as Plugin, Vt as MaybePromise } from "./shared/define-config-Bo24xyUK.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 };