UNPKG

@dudousxd/nestjs-diagnostics

Version:

A standard convention for @dudousxd/nestjs-* libs to emit observability events over node:diagnostics_channel.

8 lines • 436 B
/** * Run `publish` with `env` marked as a relayed copy. Call it from a relay that re-emits an event * received from another process onto the local bus. */ export declare function publishRelayed(env: object, publish: () => void): void; /** Whether `env` is a relayed copy being re-emitted right now (it was emitted in another process). */ export declare function isRelayed(env: object): boolean; //# sourceMappingURL=relayed.d.ts.map