| Server IP : 185.208.173.17 / Your IP : 87.236.161.98 Web Server : Microsoft-IIS/10.0 System : Windows NT SRV8576125506 10.0 build 26100 (Windows Server 2016) AMD64 User : IUSR ( 0) PHP Version : 7.4.13 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /inetpub/wwwroot/parsmega.nuxt/node_modules/memfs/lib/fsa-to-node/worker/ |
Upload File : |
export type AsyncCallback = (request: Uint8Array) => Promise<Uint8Array>;
/**
* `SyncMessenger` allows to execute asynchronous code synchronously. The
* asynchronous code is executed in a Worker thread, while the main thread is
* blocked until the asynchronous code is finished.
*
* First four 4-byte words is the header, where the first word is used for Atomics
* notifications. The second word is used for spin-locking the main thread until
* the asynchronous code is finished. The third word is used to specify payload
* length. The fourth word is currently unused.
*
* The maximum payload size is the size of the SharedArrayBuffer minus the
* header size.
*/
export declare class SyncMessenger {
protected readonly sab: SharedArrayBuffer;
protected readonly int32: Int32Array;
protected readonly uint8: Uint8Array;
protected readonly headerSize: any;
protected readonly dataSize: any;
constructor(sab: SharedArrayBuffer);
callSync(data: Uint8Array): Uint8Array;
serveAsync(callback: AsyncCallback): void;
}