- Complete React app with 7 developer tools - JSON Tool with visual structured editor - Serialize Tool with visual structured editor - URL, Base64, CSV/JSON, Beautifier, Diff tools - Responsive navigation with dropdown menu - Dark/light mode toggle - Mobile-responsive design with sticky header - All tools working with copy/paste functionality
9 lines
244 B
TypeScript
9 lines
244 B
TypeScript
declare type Task<T> = (done: () => void) => Promise<T>;
|
|
interface Pool {
|
|
submit<T>(task: Task<T>): Promise<T>;
|
|
size: number;
|
|
readonly pending: number;
|
|
}
|
|
declare function createPool(size: number): Pool;
|
|
export { Pool, createPool };
|