Github user jorgebay commented on the issue:

    https://github.com/apache/tinkerpop/pull/695
  
    VOTE +1
    
    `mvn clean install -DskipIntegrationTests=false` passes.
    
    API summary:
    - All methods are generated using groovy template files.
    - Naming conventions for js are very similar to java, so no significant 
changes there from the java one (except `in() and `from()` which are reserved 
keywords).
    - `toList()` and `next()` are used, in the same way as the rest of the 
GLVs, except that it causes async execution (no blocking API is provided, as it 
won't be usable in Node.js): `next()` returns an async iterator and `toList()` 
a promise that gets fulfilled with an `Array`.
    
    Usage samples: 
    
    ```js
    const vertices = await g.V().toList();
    ```
    
    ```js
    for await (const vertex of g.V()) {
      console.log(vertex.label);
    }
    ```



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to