Type Alias RestInterceptor

RestInterceptor: <T extends InvokeFetchResponse>(
    request: InvokeFetchProperties,
    proceed: (props: InvokeFetchProperties) => Promise<T>,
    id?: string,
) => Promise<T>

The RestInterceptor type is a function that can be used to intercept requests and responses

Type declaration