CommandProtocol

endless.core.protocol.CommandProtocol
See theCommandProtocol companion trait

Attributes

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def sendCommand[F[_], ID, R](id: ID, command: OutgoingCommand[R])(implicit sender: CommandSender[F, ID]): F[R]

Helper function that sends a command to the entity with the specified ID using the sender in implicit scope.

Helper function that sends a command to the entity with the specified ID using the sender in implicit scope.

Type parameters

F

context

R

reply type

Value parameters

command

command

id

entity ID

sender

command sender

Attributes