Skip to content

Commit

Permalink
Moved utils on top
Browse files Browse the repository at this point in the history
  • Loading branch information
WebReflection committed Oct 12, 2023
1 parent 04d4c16 commit 129683d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions esm/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import serverMain from './server/main.js';
import serverThread from './server/thread.js';
import Worker from './shared/worker.js';

const {notify, wait} = Atomics;
const {parse, stringify} = JSON;

const isServer = !!globalThis.process;
Expand Down Expand Up @@ -45,8 +46,6 @@ const proxies = new WeakMap;
* @returns {Coincident | CoincidentWorker}
*/

const { notify, wait } = Atomics;

const parseData = data => {
let id;
if (/^!(-?\d+)?/.test(data)) {
Expand Down

0 comments on commit 129683d

Please sign in to comment.