i2 Connect SDK
Search results for

    Show/hide table of contents

    Home > @i2analyze/i2connect > utility > LongRunningCallbackParameters

    utility.LongRunningCallbackParameters type

    A utility type to determine the callback parameters if a service is long-running.

    Signature:

    type LongRunningCallbackParameters<T extends services.ILongRunningServiceConfig> = T extends {
            longRunning: true | {
                pollingIntervalInSeconds?: number;
            };
        } ? {
            longRunningState: services.ILongRunningState;
        } : unknown;
    

    References: services.ILongRunningServiceConfig, services.ILongRunningState

    Introduced: API version 2.0

    Type Parameters

    Parameter Type Description
    T extends services.ILongRunningServiceConfig The type of service configuration.
    In this article
    Back to top © N. Harris Computer Corporation