Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
22 lines
1021 B
Plaintext
22 lines
1021 B
Plaintext
import { ServerRuntimeClient } from '@sentry/core';
|
|
import type { NodeClientOptions } from '../types';
|
|
/** A lightweight client for using Sentry with Node without OpenTelemetry. */
|
|
export declare class LightNodeClient extends ServerRuntimeClient<NodeClientOptions> {
|
|
private _clientReportInterval;
|
|
private _clientReportOnExitFlushListener;
|
|
private _logOnExitFlushListener;
|
|
constructor(options: NodeClientOptions);
|
|
/** @inheritDoc */
|
|
flush(timeout?: number): PromiseLike<boolean>;
|
|
/** @inheritDoc */
|
|
close(timeout?: number | undefined): PromiseLike<boolean>;
|
|
/**
|
|
* Will start tracking client reports for this client.
|
|
*
|
|
* NOTICE: This method will create an interval that is periodically called and attach a `process.on('beforeExit')`
|
|
* hook. To clean up these resources, call `.close()` when you no longer intend to use the client. Not doing so will
|
|
* result in a memory leak.
|
|
*/
|
|
startClientReportTracking(): void;
|
|
}
|
|
//# sourceMappingURL=client.d.ts.map |