summaryrefslogtreecommitdiff
path: root/js/src/jsiter.h
diff options
context:
space:
mode:
authorGaming4JC <g4jc@hyperbola.info>2019-12-14 09:16:32 -0500
committerGaming4JC <g4jc@hyperbola.info>2019-12-17 06:25:28 -0500
commit769e83126f2d3929e6407476016716d0c7316f87 (patch)
tree38ce7009388ceef8cb6793f5d0dcd5388d1d3a3f /js/src/jsiter.h
parenta752a9f9de67ae31389608472927561d6268657e (diff)
downloaduxp-769e83126f2d3929e6407476016716d0c7316f87.tar.gz
Bug 1331092 - Part 7: Implement Async Generator yield*.
Tag mcp-graveyard/UXP#1287
Diffstat (limited to 'js/src/jsiter.h')
-rw-r--r--js/src/jsiter.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/js/src/jsiter.h b/js/src/jsiter.h
index 17b7df38bf..0b324a0140 100644
--- a/js/src/jsiter.h
+++ b/js/src/jsiter.h
@@ -227,6 +227,8 @@ InitLegacyIteratorClass(JSContext* cx, HandleObject obj);
extern JSObject*
InitStopIterationClass(JSContext* cx, HandleObject obj);
+enum class IteratorKind { Sync, Async };
+
} /* namespace js */
#endif /* jsiter_h */