From 6af2abc5e2267099cbbc9a9f4ad457968ebfa45e Mon Sep 17 00:00:00 2001 From: fullgream Date: Fri, 16 May 2025 02:45:48 +0300 Subject: [PATCH] go exemplar of Pop3Command to POP3 class --- server.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/server.js b/server.js index 5344909..17709b9 100644 --- a/server.js +++ b/server.js @@ -22,11 +22,15 @@ try { global.config = require("./config.json"); -const pop3 = new Pop3Command(global.config["pop3-config"]); - class POP3 extends EventEmitter { constructor () { super(); + this.pop3cmd = new Pop3Command(global.config["pop3-config"]); } } +const pop3 = new POP3(); + +let interval = setTimeout(async () => { + +}, 1);