UNPKG

multithreading

Version:

The missing standard library for multithreading in JavaScript (Works in the browser, Node.js, Deno, Bun).

11 lines (10 loc) 261 B
export interface CallerLocation { filePath: string; line: number; column: number; } /** * Analyzes the stack trace to find the file and coordinates * where this function was called. */ export declare function getCallerLocation(): CallerLocation;