Home > @i2analyze/i2connect > services > IServiceCallbacks
services.IServiceCallbacks interface
A set of methods that the server calls when it uses a service.
Signature:
interface IServiceCallbacks<TConfig extends IServiceConfigType = IServiceConfigType>
Introduced: API version 2.0
Type Parameters
| Parameter | Type | Description |
|---|---|---|
| TConfig | extends IServiceConfigType(default: IServiceConfigType) | The type of the service config. |
Properties
| Property | Type | Description |
|---|---|---|
| acquire | utility.ServiceAcquireCallback<TConfig> | Gets the acquire callback. |
| validate? | utility.ServiceValidateCallback<TConfig> | (Optional) Gets the optional validate callback. |