Note: The Pregel runtime is named after Google’s Pregel algorithm, which describes an efficient method for large-scale parallel computation using graphs.
PregelNode
. It subscribes to channels, reads data from them, and writes data to them. It can be thought of as an actor in the Pregel algorithm. PregelNodes
implement LangChain’s Runnable interface.
total = BinaryOperatorAggregate(int, operator.add)