@rollup/browser 4.63.4 → 4.63.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/rollup.browser.d.ts
CHANGED
|
@@ -1081,16 +1081,14 @@ export interface AwaitingEventEmitter<T extends Record<string, (...parameters: a
|
|
|
1081
1081
|
off<K extends keyof T>(event: K, listener: AwaitedEventListener<T, K>): this;
|
|
1082
1082
|
/**
|
|
1083
1083
|
* Registers an event listener that will be awaited before Rollup continues.
|
|
1084
|
-
* All listeners
|
|
1085
|
-
*
|
|
1084
|
+
* All listeners are invoked and awaited in parallel. Rollup waits until all
|
|
1085
|
+
* of them have settled and then throws the first rejection, if any.
|
|
1086
1086
|
*/
|
|
1087
1087
|
on<K extends keyof T>(event: K, listener: AwaitedEventListener<T, K>): this;
|
|
1088
1088
|
/**
|
|
1089
|
-
* Registers an event listener
|
|
1090
|
-
*
|
|
1091
|
-
*
|
|
1092
|
-
* Listeners are removed automatically when removeListenersForCurrentRun is
|
|
1093
|
-
* called, which happens automatically after each run.
|
|
1089
|
+
* Registers an event listener like `on`. Listeners are removed automatically
|
|
1090
|
+
* when removeListenersForCurrentRun is called, which happens right before each
|
|
1091
|
+
* rebuild, after the changes that triggered it were announced.
|
|
1094
1092
|
*/
|
|
1095
1093
|
onCurrentRun<K extends keyof T>(
|
|
1096
1094
|
event: K,
|