Next.js website for Rocky Mountain Vending company featuring: - Product catalog with Stripe integration - Service areas and parts pages - Admin dashboard with Clerk authentication - SEO optimized pages with JSON-LD structured data Co-authored-by: Cursor <cursoragent@cursor.com>
25 lines
579 B
Text
25 lines
579 B
Text
import { EventEmitter } from "node:events";
|
|
import { Readable } from "node:stream";
|
|
export class Worker extends EventEmitter {
|
|
stdin = null;
|
|
stdout = new Readable();
|
|
stderr = new Readable();
|
|
threadId = 0;
|
|
performance = { eventLoopUtilization: () => ({
|
|
idle: 0,
|
|
active: 0,
|
|
utilization: 0
|
|
}) };
|
|
postMessage(_value, _transferList) {}
|
|
postMessageToThread(_threadId, _value, _transferList, _timeout) {
|
|
return Promise.resolve();
|
|
}
|
|
ref() {}
|
|
unref() {}
|
|
terminate() {
|
|
return Promise.resolve(0);
|
|
}
|
|
getHeapSnapshot() {
|
|
return Promise.resolve(new Readable());
|
|
}
|
|
}
|