Step - barrier

barrier ยท category: Aggregation

Collects the whole stream before passing it on; equal traversers merge into one with a bulk (see the book page Bulk and Barriers).

Forms

barrier()
barrier(arg1: any)

Example

g.v().out().barrier().count().next()   // 6

See also