comlink-async-generator
Generator functions support for Comlink
Installation
npm i comlink-async-generator
Usage
import { transferHandlers } from 'comlink';
import { asyncGeneratorTransferHandler } from 'comlink-async-generator';
transferHandlers.set('asyncGenerator', asyncGeneratorTransferHandler);
License
MIT. Copyright (c) Kyaw Swar Thwin <myanmarunicorn@gmail.com>