Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(103)

Unified Diff: src/factory.h

Issue 2622833002: WIP [esnext] implement async iteration proposal (Closed)
Patch Set: Make (most of) for-await-of work (no IteratorClose yet..) Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/factory.h
diff --git a/src/factory.h b/src/factory.h
index 49008e2da6ea2e94719acf5ba87df8257747c3f6..17dcfb192f884b4f73dfa331f92477962f33c42a 100644
--- a/src/factory.h
+++ b/src/factory.h
@@ -533,6 +533,8 @@ class V8_EXPORT_PRIVATE Factory final {
size_t byte_offset, size_t byte_length);
Handle<JSIteratorResult> NewJSIteratorResult(Handle<Object> value, bool done);
+ Handle<JSAsyncFromSyncIterator> NewJSAsyncFromSyncIterator(
+ Handle<HeapObject> sync_iterator);
Handle<JSMap> NewJSMap();
Handle<JSSet> NewJSSet();
« src/builtins/builtins-async-generator.cc ('K') | « src/contexts.h ('k') | src/factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698