0.0.1 • Published 6 months ago

comlink-async-generator v0.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

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>