From 5a1cc7bd664d242437d5e1ad531128ad8d62e718 Mon Sep 17 00:00:00 2001 From: catvod <88956744+catvod@users.noreply.github.com> Date: Tue, 23 Jan 2024 11:59:41 +0800 Subject: [PATCH] Update index.js --- open/wrapper/index.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/open/wrapper/index.js b/open/wrapper/index.js index 2a599b2..ff2cb30 100644 --- a/open/wrapper/index.js +++ b/open/wrapper/index.js @@ -386,6 +386,13 @@ globalThis.JSFile = function (path) { this.flush = async function () { return; }; + + /** + * File to sharedBuffer. + */ + this.shared = async function () { + return; + }; /** * Closes the file descriptor.