refactor: further decoupling of Packet and Core parts
This commit is contained in:
1 parent
9126bac40a
commit
eabfffba65
9 files changed
+68
-42
No files matched your search
@@ -20,7 +20,7 @@ export class UploadForwardMsg extends BaseAction<Payload, any> {
|
||||
payloadSchema = SchemaData;
|
||||
|
||||
async _handle(payload: Payload) {
|
||||
if (!this.core.apis.PacketApi.packetClient?.available) {
|
||||
if (!this.core.apis.PacketApi.available) {
|
||||
throw new Error('PacketClient is not init');
|
||||
}
|
||||
throw new Error('Not implemented');
|
||||
|
||||
Reference in new issue
Block a user