zibri
    Preparing search index...

    Type Alias AllowedCancellationMethods<Methods, P>

    AllowedCancellationMethods: {
        [K in Methods[number]]: ProviderInstanceForMethod<Methods, K, P> extends {
            __cancellationSupportMap: infer CS;
            __reservationSupportMap: infer RS;
        }
            ? (CS & Record<string, any>)[K] extends true
                ? K
                : (RS & Record<string, any>)[K] extends true ? K : never
            : never
    }[Methods[number]]

    Filters to all methods that are allowed for cancellation.

    Type Parameters