Scala / Akka Socket Server IterateeRef Syntax

Can someone explain to me the meaning of this line of code?

val state = IO.IterateeRef.Map.async[IO.Handle]()(context.dispatcher) 

(from http://doc.akka.io/docs/akka/2.0/scala/io.html )

I assume this is a partial async function application, which is a curry function? But I thought that async was defined in IO.IterateeRef, not IO.IterateeRef.Map.

+4
source share
1 answer

Source: https://habr.com/ru/post/1403516/


All Articles