Home > @i2analyze/i2connect > services > RequestSpecificValue
services.RequestSpecificValue type
A function that returns a value of type T
based on the contents of an services.IRequestInformation object that it receives.
Signature:
type RequestSpecificValue<T> = (requestInformation: IRequestInformation) => T | Promise<T>;
References: IRequestInformation
Introduced: API version 1.2
Parameters
Parameter | Description |
---|---|
requestInformation | Information that the function can use to determine what value to return. |
Type Parameters
Parameter | Type | Description |
---|---|---|
T | any | The type of the value. |