Standalone runtime for \href{https://github.com/facebook/regenerator}{\texttt{ Regenerator}}-\/compiled generator and {\ttfamily async} functions.

To import the runtime as a module (recommended), either of the following import styles will work\+: 
\begin{DoxyCode}{0}
\DoxyCodeLine{// CommonJS}
\DoxyCodeLine{const regeneratorRuntime = require("{}regenerator-\/runtime"{});}
\DoxyCodeLine{}
\DoxyCodeLine{// ECMAScript 2015}
\DoxyCodeLine{import regeneratorRuntime from "{}regenerator-\/runtime"{}; }

\end{DoxyCode}


To ensure that {\ttfamily regenerator\+Runtime} is defined globally, either of the following styles will work\+: 
\begin{DoxyCode}{0}
\DoxyCodeLine{// CommonJS}
\DoxyCodeLine{require("{}regenerator-\/runtime/runtime"{});}
\DoxyCodeLine{}
\DoxyCodeLine{// ECMAScript 2015}
\DoxyCodeLine{import "{}regenerator-\/runtime/runtime.js"{}; }

\end{DoxyCode}


To get the absolute file system path of {\ttfamily runtime.\+js}, evaluate the following expression\+: 
\begin{DoxyCode}{0}
\DoxyCodeLine{require("{}regenerator-\/runtime/path"{}).path }

\end{DoxyCode}
 