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

zio.pekko.cluster.sharding.MessageEnvelope.scala Maven / Gradle / Ivy

package zio.pekko.cluster.sharding

import MessageEnvelope.Payload

case class MessageEnvelope(entityId: String, data: Payload)

object MessageEnvelope {

  sealed trait Payload
  case object PoisonPillPayload            extends Payload
  case object PassivatePayload             extends Payload
  case class MessagePayload[Msg](msg: Msg) extends Payload

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy