createJsLoopbackTransport function
Web-only loopback transport; throws UnsupportedError here.
On the web it round-trips every payload through the real JS codec and
structuredClone, executing tasks from registry in-page. In VM tests
use FakeWorkerTransport instead.
Implementation
WorkerTransport createJsLoopbackTransport(TaskRegistry registry) =>
throw UnsupportedError(
'createJsLoopbackTransport is web-only (dart test -p chrome). In VM '
'tests use FakeWorkerTransport from package:wasmforge/testing.dart.',
);