mirror of https://github.com/lukechilds/docs.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
334 B
22 lines
334 B
6 years ago
|
"use strict";Object.defineProperty(exports, "__esModule", { value: true });
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
let NEXT_ID = 1;
|
||
|
|
||
|
class Command {
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
constructor(target, name, params = []) {
|
||
|
this.id = NEXT_ID;
|
||
|
NEXT_ID += 1;
|
||
|
this.target = target;
|
||
|
this.name = name;
|
||
|
this.params = params;
|
||
|
this.deferred = null;
|
||
|
}}exports.default = Command;
|