This API should not be used directly, it will be invoked by the client generated by ServiceClient.implement in
order to construct the client and obtain the dependencies necessary for the client to operate.
Although this API should not directly be used by end users, the code generated by the ServiceClient macro does
cause end users to have a binary dependency on this class, which is why it's in the scaladsl package.
Lagom service client constructor.
This API should not be used directly, it will be invoked by the client generated by ServiceClient.implement in order to construct the client and obtain the dependencies necessary for the client to operate.
The reason for a separation between this interface and ServiceClient is so that the #construct method doesn't appear on the user facing ServiceClient API. The macro it generates will cast the ServiceClient to a ServiceClientConstructor in order to invoke it.
Although this API should not directly be used by end users, the code generated by the ServiceClient macro does cause end users to have a binary dependency on this class, which is why it's in the
scaladsl
package.