Skip to content

Instantly share code, notes, and snippets.

@ScalaWilliam
Created November 4, 2016 10:04
Show Gist options
  • Select an option

  • Save ScalaWilliam/3357d3cabb8d6b27f76eb225ca7f2622 to your computer and use it in GitHub Desktop.

Select an option

Save ScalaWilliam/3357d3cabb8d6b27f76eb225ca7f2622 to your computer and use it in GitHub Desktop.
class StaticFeature extends Feature {
def execute(inputXml: Elem): Future[Result] = {
Future.successful(StaticFeature.staticResult)
}
}
object StaticFeature {
val staticResult: Result = ???
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment