node-network-devtools
Version:
Inspecting Node.js's Network with Chrome DevTools
20 lines (19 loc) • 507 B
TypeScript
import { RequestDetail } from '../../common';
import { RequestType } from '../fork';
export interface Pipe<T = RequestDetail> {
(req: T): T;
}
export interface Cell {
request: RequestDetail;
pipes: Array<{
pipe: Pipe<RequestDetail>;
type: RequestType;
}>;
/**
* @default false
*/
isAborted: boolean;
}
export declare function getCurrentCell(): Cell | null;
export declare function setCurrentCell(cell: Cell | null): void;
//# sourceMappingURL=cell.d.ts.map