i2 Connect SDK
Search results for

    Show/hide table of contents

    Home > @i2analyze/i2connect > addService

    addService() function

    Adds a service that provides an acquire callback to the connector.

    Signature:

    export declare function addService<TServiceConfig extends services.IServiceConfigType>(config: TServiceConfig, acquire: utility.ServiceAcquireCallback<TServiceConfig>): void;
    

    Introduced: API version 2.0

    Type Parameters

    Parameter Type Description
    TServiceConfig extends services.IServiceConfigType The type of the service configuration.

    Parameters

    Parameter Type Description
    config TServiceConfig The service configuration, which determines the name and description of the service that users see, and some aspects of its behavior.
    acquire utility.ServiceAcquireCallback<TServiceConfig> The acquire callback.

    Returns:

    void

    In this article
    Back to top © N. Harris Computer Corporation