@brickkit/core 0.16.0-beta.3 → 0.16.0-beta.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/chunks/types.d.ts
CHANGED
|
@@ -3103,6 +3103,7 @@ interface Deliverable {
|
|
|
3103
3103
|
*/
|
|
3104
3104
|
declare class EventsHub {
|
|
3105
3105
|
private readonly deps;
|
|
3106
|
+
private readonly telemetry;
|
|
3106
3107
|
private readonly byName;
|
|
3107
3108
|
private readonly dispatchers;
|
|
3108
3109
|
private readonly deliverables;
|
|
@@ -3117,8 +3118,9 @@ declare class EventsHub {
|
|
|
3117
3118
|
* @param options - The `events` option.
|
|
3118
3119
|
* @param deps - The deps of the app's services, which `useDeps()` returns in
|
|
3119
3120
|
* its listeners, schedules and workflow steps.
|
|
3121
|
+
* @param telemetry - Trace each schedule run, as `brick({ telemetry })` does requests.
|
|
3120
3122
|
*/
|
|
3121
|
-
constructor(options: EventsOptions, deps?: Record<string, unknown
|
|
3123
|
+
constructor(options: EventsOptions, deps?: Record<string, unknown>, telemetry?: boolean);
|
|
3122
3124
|
/**
|
|
3123
3125
|
* Give each service whose database holds an outbox table a recorder, and a
|
|
3124
3126
|
* dispatcher for that table. Call it before the first request: a service has no
|