mirror of
https://github.com/denoland/deno.git
synced 2025-09-27 04:39:10 +00:00
Remove doc strings from cli/js TS files (#4329)
Co-authored-by: Ryan Dahl <ry@tinyclouds.org>
This commit is contained in:
parent
3ac642c183
commit
e435c2be15
87 changed files with 0 additions and 2025 deletions
|
@ -43,25 +43,6 @@ export interface Metrics {
|
|||
bytesReceived: number;
|
||||
}
|
||||
|
||||
/** Receive metrics from the privileged side of Deno.
|
||||
*
|
||||
* > 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 │
|
||||
* └─────────────────────────┴────────┘
|
||||
*/
|
||||
export function metrics(): Metrics {
|
||||
return sendSync("op_metrics");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue