CommandSender

endless.core.protocol.CommandSender
See theCommandSender companion trait
object CommandSender

Attributes

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

Members list

Value members

Concrete methods

def local[F[_] : Functor, ID, Alg[_[_]]](protocol: CommandProtocol[ID, Alg], alg: Alg[F]): CommandSender[F, ID]

Local command sender, for testing purposes

Local command sender, for testing purposes

Type parameters

Alg

entity algebra

F

context

ID

entity ID

Value parameters

alg

entity algebra instance

protocol

command protocol, used for its server component

Attributes

Returns

a command sender that runs the command locally