@rackbops/ac-plugin-contract 2.0.0-alpha.60 → 2.0.0-alpha.62

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.
@@ -81,7 +81,9 @@ export interface JobDeclaration {
81
81
  export interface EventsService {
82
82
  /** Calls every subscriber of `type` synchronously, in subscription order, and never awaits one.
83
83
  * A subscriber that throws, or returns a promise that rejects, is logged by the host and stops
84
- * neither the others nor the emitter (#728). */
84
+ * neither the others nor the emitter (#728). An event a plugin emits while plugins are still
85
+ * activating also reaches, once every plugin has activated, a subscriber that registered after
86
+ * it, so a handler registered in `activate()` does not depend on load order (#1061). */
85
87
  emit(type: string, payload: unknown): void;
86
88
  /** Subscribe; returns an unsubscribe function. The handler may be `async` (#728): when it
87
89
  * returns a promise (or any thenable) the host attaches a rejection handler, so a rejection is
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rackbops/ac-plugin-contract",
3
- "version": "2.0.0-alpha.60",
3
+ "version": "2.0.0-alpha.62",
4
4
  "private": false,
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",