Generator functions support for Comlink
npm i comlink-async-generatorimport { transferHandlers } from 'comlink';
import { asyncGeneratorTransferHandler } from 'comlink-async-generator';
transferHandlers.set('asyncGenerator', asyncGeneratorTransferHandler);MIT. Copyright (c) Kyaw Swar Thwin <[email protected]>