Typed unstash/unstashAll scaladoc not understandable?

akka.actor.typed.scaladsl.StashBuffer#unstashAll

def unstashAll(behavior: Behavior[T]): Behavior[T]

“Process all stashed messages with the behavior and the returned Behavior from each processed message.”

Is it me or is this sentence a complete mess?

I might see that it is a mess. Improvement contribution is very welcome.

It means that the first stashed message will be processed by the Behavior that is in the given parameter to unstashAll. Second message in the stash is processed by the Behavior returned by the first message. And so on.

Thank you.