简体   繁体   中英

Akka: What is the equivalent of Flow in Java

Akka streams in scala provides a Flow concept. What is the equivalent in Java?

For example, in Scala, there is Flow.take(n)

but in Java, there is Source.take(n) which returns a source not a flow

正如文档清楚地表明的那样,Akka 库——包括 Akka Streams——都有一个 Java API 和一个 Scala API,所以 Java 中Flow # take等价物是... Flow # take

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM