diff options
author | Asher Gomez <ashersaupingomez@gmail.com> | 2024-08-31 08:43:32 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-31 08:43:32 +1000 |
commit | 504ae362d5d7695ad710bcdf86a0f57fb4fbd113 (patch) | |
tree | 76025ca1a4d3e389ccae5d3ed2da2cdea72fae80 /cli/tsc/dts/lib.deno.ns.d.ts | |
parent | 35074a10c670ebf9402994afc876eb20ae0e1b9e (diff) |
chore: remove `Deno.metrics()` (#25167)
Diffstat (limited to 'cli/tsc/dts/lib.deno.ns.d.ts')
-rw-r--r-- | cli/tsc/dts/lib.deno.ns.d.ts | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/cli/tsc/dts/lib.deno.ns.d.ts b/cli/tsc/dts/lib.deno.ns.d.ts index 0cc96d542..31634811c 100644 --- a/cli/tsc/dts/lib.deno.ns.d.ts +++ b/cli/tsc/dts/lib.deno.ns.d.ts @@ -4060,43 +4060,6 @@ declare namespace Deno { bytesReceived: number; } - /** @category Runtime - * - * @deprecated This will be removed in Deno 2.0. - */ - export interface Metrics extends OpMetrics { - ops: Record<string, OpMetrics>; - } - - /** Receive metrics from the privileged side of Deno. This is primarily used - * in the development of Deno. _Ops_, also called _bindings_, are the - * go-between between Deno JavaScript sandbox and the rest of Deno. - * - * ```shell - * > console.table(Deno.metrics()) - * ┌─────────────────────────┬────────┐ - * │ (index) │ Values │ - * ├─────────────────────────┼────────┤ - * │ opsDispatched │ 3 │ - * │ opsDispatchedSync │ 2 │ - * │ opsDispatchedAsync │ 1 │ - * │ opsDispatchedAsyncUnref │ 0 │ - * │ opsCompleted │ 3 │ - * │ opsCompletedSync │ 2 │ - * │ opsCompletedAsync │ 1 │ - * │ opsCompletedAsyncUnref │ 0 │ - * │ bytesSentControl │ 73 │ - * │ bytesSentData │ 0 │ - * │ bytesReceived │ 375 │ - * └─────────────────────────┴────────┘ - * ``` - * - * @category Runtime - * - * @deprecated This will be removed in Deno 2.0. - */ - export function metrics(): Metrics; - /** * A map of open resources that Deno is tracking. The key is the resource ID * (_rid_) and the value is its representation. |