File tree Expand file tree Collapse file tree
src/main/java/io/eigr/spawn/api Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -100,6 +100,16 @@ public ActorRef createActorRef(ActorIdentity identity) throws ActorCreationExcep
100100 return ActorRef .of (this .client , this .actorIdCache , identity );
101101 }
102102
103+ /**
104+ * <p>This method is responsible for creating instances of the ActorRef in batch.
105+ * See more about ActorRef in {@link io.eigr.spawn.api.InvocationOpts} class
106+ * </p>
107+ *
108+ * @param identities the name of the actor that this ActorRef instance should represent
109+ * @return stream of the ActorRef instances
110+ * @throws {@link io.eigr.spawn.api.exceptions.ActorCreationException}
111+ * @since 0.8.0
112+ */
103113 public Stream <ActorRef > createMultiActorRefs (List <ActorIdentity > identities ) throws ActorCreationException {
104114 List <ActorOuterClass .ActorId > ids = identities .stream ().map (identity -> {
105115 if (identity .isParent ()) {
You can’t perform that action at this time.
0 commit comments