worker: add postMessageToThread

PR-URL: https://github.com/nodejs/node/pull/53682
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
This commit is contained in:
Paolo Insogna 2024-07-09 09:16:04 +02:00 committed by GitHub
parent b9289a6e29
commit 66a635cece
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
14 changed files with 677 additions and 5 deletions

View file

@ -1,6 +1,5 @@
'use strict';
// TODO@PI: Run all tests
const common = require('../common');
const assert = require('assert');
const { createServer, request } = require('http');