Welcome to mirror list, hosted at ThFree Co, Russian Federation.

wrapAsyncGenerator.js « esm « helpers « runtime « @babel « node_modules « assets - github.com/fourtyone11/origin-hugo-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 6d6d9811e953fb2e5859f87d148354a364322053 (plain)
1
2
3
4
5
6
import AsyncGenerator from "./AsyncGenerator";
export default function _wrapAsyncGenerator(fn) {
  return function () {
    return new AsyncGenerator(fn.apply(this, arguments));
  };
}