1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-29 16:30:56 -05:00
denoland-deno/cli/rt/30_metrics.js
2020-07-23 16:27:26 +02:00

13 lines
272 B
JavaScript

// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
((window) => {
const { sendSync } = window.__bootstrap.dispatchJson;
function metrics() {
return sendSync("op_metrics");
}
window.__bootstrap.metrics = {
metrics,
};
})(this);