*update dist
This commit is contained in:
parent
b2aa51d8de
commit
a53c238889
|
@ -39,6 +39,7 @@ declare class Channel extends Client {
|
|||
}): Message;
|
||||
queueMessage(message: Message): Promise<void>;
|
||||
private init;
|
||||
destroy(error: Error): void;
|
||||
}
|
||||
declare class Message extends Client {
|
||||
private encoding;
|
||||
|
|
|
@ -107,6 +107,9 @@ class Channel extends Client {
|
|||
ret.catch((e) => this._created.reject(e));
|
||||
return this._created.promise;
|
||||
}
|
||||
destroy(error) {
|
||||
this._send?.({ action: "destroy", args: [error] });
|
||||
}
|
||||
}
|
||||
class Message extends Client {
|
||||
encoding;
|
||||
|
|
Loading…
Reference in New Issue