February 2018
Intermediate to advanced
552 pages
13h 46m
English
Before starting to develop our first example, one of the important concepts we should understand is ServiceCall.
ServiceCall is a trait defined as shown here:
package com.lightbend.lagom.scaladsl.api
trait ServiceCall[Request, Response] {
def invoke(request: Request): Future[Response]
}
It is used to define or implement a service call for an entity in a Lagom API or implementation microservice:

Read now
Unlock full access