All Downloads are FREE. Search and download functionalities are using the official Maven repository.

endless.runtime.pekko.data.Command.scala Maven / Gradle / Ivy

package endless.runtime.pekko.data

import org.apache.pekko.actor.typed.ActorRef

/** Internal carrier data type for entity commands
  * @param id
  *   target entity ID
  * @param payload
  *   binary payload
  * @param replyTo
  *   actor reference where to deliver the reply
  */
@SuppressWarnings(Array("org.wartremover.warts.ArrayEquals"))
final case class Command(id: String, payload: Array[Byte])(
    val replyTo: ActorRef[Reply]
)




© 2015 - 2024 Weber Informatics LLC | Privacy Policy