We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Send a Find message to a sequence actor to find a value.
case class Find[V](f: V => Boolean)
Tests.
println(Future(Range(1,4), Find((a: Int) => a % 2 == 0))) println(Future(Range(1,4), Find((a: Int) => a % 4 == 0)))
Output.
2 null
FindTest
Tutorial