app/model/command/Command.scala (6 lines of code) (raw):

package model.command import scala.concurrent.{ExecutionContext, Future} trait Command { type T def process()(implicit username: Option[String], ec: ExecutionContext): Future[Option[T]] }