-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
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:
import de.up.hpi.informationsystems.adbms.function.SequentialFunctor.StartMessage
val functor = SequentialFunctor()
.start( (_: StartMessage) => _, _ )
.end(identity)Problem Description
Creating an empty start message for a SequentialFunctor is tedious:
sealed trait StartMessageType extends RequestResponseProtocol.Message
case object StartMessage extends RequestResponseProtocol.Request[StartMessageType]
type StartMessage = StartMessage.type
val functor = SequentialFunctor()
.start( (_: StartMessage) => _, _ )
.end(identity)Supporting Information
see above
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels