Перейти к основному содержанию
Zoro
Вопросы
Таймер
Резервное копирование
Главная
/
🟢 Node.js
/
Вопросы 76
Node.js:
What is the difference between spawn() and fork()?
🎯
Режим фокуса
76
🟢
Node.js
🌱 junior
Снять отметку
What is the difference between spawn() and fork()?
spawn
— process.
fork
— Node.js + IPC.
javascript
Копировать
1
spawn
(
"ls"
)
2
fork
(
"./worker.js"
)
spawn
— any.
fork
— Node.js.
Больше вопросов по Node.js
What is Node.js and what is it used for?
What is the event loop in Node.js?
What is the difference between process.nextTick() and setImmediate() in Node.js?
What is the difference between setTimeout() and setInterval() in Node.js?
What is the difference between callback and promise in Node.js?
What is the difference between path.join() and path.resolve()?
What is the difference between cluster and worker_threads?
Назад к категории Node.js