Skip to content

Commit

Permalink
Update patch-tracing-channel.js from Qard
Browse files Browse the repository at this point in the history
Co-authored-by: Stephen Belanger <[email protected]>
  • Loading branch information
tlhunter and Qard authored Sep 14, 2023
1 parent 6c99b8d commit 510adcd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions patch-tracing-channel.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
const ReflectApply = Reflect.apply;
const PromiseReject = Promise.reject;
const PromiseResolve = Promise.resolve;
const PromisePrototypeThen = Promise.prototype.then;
const ArrayPrototypeSplice = Array.prototype.splice;
const makeCall = (fn) => (...args) => fn.call(...args);
const PromisePrototypeThen = makeCall(Promise.prototype.then);
const ArrayPrototypeSplice = makeCall(Array.prototype.splice);

class TracingChannel {
constructor(nameOrChannels) {
Expand Down

0 comments on commit 510adcd

Please sign in to comment.