nanolith
Version:
Multi-threading in no time with seamless TypeScript support.
14 lines (13 loc) • 816 B
TypeScript
export { pool, getDefaultPoolConcurrency } from './pool/index.js';
export { define } from './define/index.js';
export { ParentThread } from './service/index.js';
export { Messenger, MessengerList } from './messenger/index.js';
export { ServiceCluster } from './service_cluster/index.js';
export { SharedMap } from './shared_map/index.js';
export { ConcurrencyOption } from './constants/pool.js';
export { Bytes } from './constants/shared_map.js';
export type { TaskDefinitions } from './types/definitions.js';
export type { Nanolith } from './types/nanolith.js';
export type { TaskWorkerOptions as LaunchTaskOptions, ServiceWorkerOptions as LaunchServiceOptions } from './types/workers.js';
export type { SharedMapRawData } from './types/shared_map.js';
export type { MessengerRawData } from './types/messenger.js';