comlink-async-generator
v0.0.1
Published
Generator functions support for Comlink
Downloads
213
Readme
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 <[email protected]>