Require set of remembered entities to start to be nonEmpty
This commit is contained in:
parent
5e222214b6
commit
aa874d610f
1 changed files with 2 additions and 0 deletions
|
|
@ -54,6 +54,8 @@ private[akka] final class RememberEntityStarter(
|
|||
implicit val ec: ExecutionContext = context.dispatcher
|
||||
import RememberEntityStarter._
|
||||
|
||||
require(ids.nonEmpty)
|
||||
|
||||
private var idsLeftToStart = Set.empty[EntityId]
|
||||
private var waitingForAck = Set.empty[EntityId]
|
||||
private var entitiesMoved = Set.empty[EntityId]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue