UNPKG

@snap/camera-kit

Version:
13 lines 664 B
/** * Modifies the provided request object to include a priority field if the lowPriority flag is true. * Returns the request object unchanged if lowPriority is false. * * @internal * * @param request The request object to be potentially modified. * @param lowPriority A boolean flag indicating whether to add a priority field to the request object. * @returns The modified request object with a priority field if lowPriority is true, * or the original request object if lowPriority is false. */ export declare function withRequestPriority(request: RequestInit, lowPriority: boolean | undefined): RequestInit; //# sourceMappingURL=utils.d.ts.map