helpyourneighbour/node_modules/synckit/lib/index.d.ts
BibaBot c294e2e9ae
Some checks are pending
Docker Test / test (push) Waiting to run
Add unit tests for role middleware
2026-03-17 07:07:36 +00:00

7 lines
424 B
TypeScript

import type { AnyFn, Syncify, SynckitOptions } from './types.js';
export * from './common.js';
export * from './constants.js';
export * from './helpers.js';
export * from './types.js';
export declare function createSyncFn<T extends AnyFn>(workerPath: URL | string, timeoutOrOptions?: SynckitOptions | number): Syncify<T>;
export declare function runAsWorker<T extends AnyFn<Promise<R> | R>, R = ReturnType<T>>(fn: T): void;