Commit 6fa312f6 authored by 邓晓峰's avatar 邓晓峰

fix: ClientImplementation import WireMessage

parent 89480610
...@@ -19,6 +19,12 @@ var Timeout = function Timeout(client, timeoutSeconds, action, args) { ...@@ -19,6 +19,12 @@ var Timeout = function Timeout(client, timeoutSeconds, action, args) {
clearTimeout(this.timeout); clearTimeout(this.timeout);
}; };
}; };
var scope = function scope(f, _scope) {
return function () {
return f.apply(_scope, arguments);
};
};
/* eslint-disable */ /* eslint-disable */
......
...@@ -31,6 +31,12 @@ var Timeout = function Timeout(client, timeoutSeconds, action, args) { ...@@ -31,6 +31,12 @@ var Timeout = function Timeout(client, timeoutSeconds, action, args) {
clearTimeout(this.timeout); clearTimeout(this.timeout);
}; };
}; };
var scope = function scope(f, _scope) {
return function () {
return f.apply(_scope, arguments);
};
};
/* eslint-disable */ /* eslint-disable */
......
...@@ -9,6 +9,7 @@ import { ...@@ -9,6 +9,7 @@ import {
decodeMessage, decodeMessage,
format, format,
} from './utils'; } from './utils';
import WireMessage from './WireMessage';
/* eslint-disable */ /* eslint-disable */
const Timeout = function (client, timeoutSeconds, action, args) { const Timeout = function (client, timeoutSeconds, action, args) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment