From f5f6b31394769c6e8f9e5abfcc93287f4121693f Mon Sep 17 00:00:00 2001 From: szdytom Date: Tue, 5 Mar 2024 22:38:48 +0800 Subject: [PATCH] [shared] remove apc --- shared/apc/index.mjs | 15 --------------- shared/apc/package.json | 11 ----------- 2 files changed, 26 deletions(-) delete mode 100644 shared/apc/index.mjs delete mode 100644 shared/apc/package.json diff --git a/shared/apc/index.mjs b/shared/apc/index.mjs deleted file mode 100644 index 4fbdd1d..0000000 --- a/shared/apc/index.mjs +++ /dev/null @@ -1,15 +0,0 @@ -import { Buffer } from 'buffer'; - -export class AsyncProcedureCallEndpoint { - /** - * Constructs an AsyncProcedureCallEndpoint object. - * @param {any} input - stream of data sent by remote. - * @param {any} output - stream of data to send to remote. - */ - constructor(input, output) { - this.buf = Buffer(); - input.ondata = () => { - - }; - } -}; diff --git a/shared/apc/package.json b/shared/apc/package.json deleted file mode 100644 index 1ab705e..0000000 --- a/shared/apc/package.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "name": "@og/async-procedure-call", - "type": "module", - "main": "index.mjs", - "dependencies": { - "buffer": "^6.0.3", - "@og/error-utils": "file:../error-utils", - "@og/uuid": "file:../uuid", - "@og/binary-struct": "file:../bstruct" - } -} \ No newline at end of file