mirror of
https://github.com/denoland/deno.git
synced 2025-08-03 18:38:33 +00:00
Remove broken feature: trace()
This commit is contained in:
parent
6bbf0777b1
commit
7f204b9803
6 changed files with 0 additions and 168 deletions
|
@ -4,7 +4,6 @@ import * as flatbuffers from "./flatbuffers";
|
|||
import * as msg from "gen/msg_generated";
|
||||
import * as errors from "./errors";
|
||||
import * as util from "./util";
|
||||
import { maybePushTrace } from "./trace";
|
||||
|
||||
let nextCmdId = 0;
|
||||
const promiseTable = new Map<number, util.Resolvable<msg.Base>>();
|
||||
|
@ -43,7 +42,6 @@ export function sendAsync(
|
|||
inner: flatbuffers.Offset,
|
||||
data?: ArrayBufferView
|
||||
): Promise<msg.Base> {
|
||||
maybePushTrace(innerType, false); // add to trace if tracing
|
||||
const [cmdId, resBuf] = sendInternal(builder, innerType, inner, data, false);
|
||||
util.assert(resBuf == null);
|
||||
const promise = util.createResolvable<msg.Base>();
|
||||
|
@ -58,7 +56,6 @@ export function sendSync(
|
|||
inner: flatbuffers.Offset,
|
||||
data?: ArrayBufferView
|
||||
): null | msg.Base {
|
||||
maybePushTrace(innerType, true); // add to trace if tracing
|
||||
const [cmdId, resBuf] = sendInternal(builder, innerType, inner, data, true);
|
||||
util.assert(cmdId >= 0);
|
||||
if (resBuf == null) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue