BuildServiceSpec

A set of parameters that defines a service registration.

Since

6.1

Parameters

<P>

The type of parameters to inject into the service implementation.

Functions

Link copied to clipboard
Specifies the maximum number of tasks that can use this service in parallel.
Link copied to clipboard
abstract fun getParameters(): P
Returns the parameters to will be used to create the service instance.
Link copied to clipboard
abstract fun parameters(configureAction: Action<in P>)
Runs the given action to configure the parameters.