Open CodeLionX opened 6 years ago
Users have to define their own start messages. The framework could provide a singleton message for start messages without any data and create the type alias in the framework:
import de.up.hpi.informationsystems.adbms.function.SequentialFunctor.StartMessage val functor = SequentialFunctor() .start( (_: StartMessage) => _, _ ) .end(identity)
Creating an empty start message for a SequentialFunctor is tedious:
SequentialFunctor
sealed trait StartMessageType extends RequestResponseProtocol.Message case object StartMessage extends RequestResponseProtocol.Request[StartMessageType] type StartMessage = StartMessage.type val functor = SequentialFunctor() .start( (_: StartMessage) => _, _ ) .end(identity)
see above
Issue
Users have to define their own start messages. The framework could provide a singleton message for start messages without any data and create the type alias in the framework:
Problem Description
Creating an empty start message for a
SequentialFunctor
is tedious:Supporting Information
see above