Skip to content

v2.1.0

Compare
Choose a tag to compare
@github-actions github-actions released this 03 Mar 14:04

Please refer to CHANGELOG.md for details.

New Features:

import { resolve } from 'node:path'
import { Worker } from 'node:worker_threads'
import workerPath from './worker?modulePath'

new Worker(workerPath, {})
import { utilityProcess, MessageChannelMain } from 'electron'
import forkPath from './fork?modulePath'

const { port1, port2 } = new MessageChannelMain()
const child = utilityProcess.fork(forkPath)