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 and an optional validate callback to the connector.

    Signature:

    export declare function addService<TServiceConfig extends services.IServiceConfigType>(config: TServiceConfig, callbacks: services.IServiceCallbacks<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.
    callbacks services.IServiceCallbacks<TServiceConfig> An object that contains the callbacks.

    Returns:

    void

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