Offload functions to worker threads with shared memory primitives for Node.js.
8
fork

Configure Feed

Select the types of activity you want to include in your feed.

at main 70 lines 1.4 kB view raw
1export { mo } from './mo.ts'; 2export type { Arg } from './mo.ts'; 3export { PromiseLikeTask } from './task.ts'; 4export { AsyncIterableTask } from './stream-task.ts'; 5export { channel } from './channel.ts'; 6export type { ChannelOptions } from './channel.ts'; 7export { workers } from './worker-pool.ts'; 8export { transfer } from './transfer.ts'; 9export { assign } from './assign.ts'; 10export { inert } from './inert.ts'; 11export { isTask } from './is-task.ts'; 12export { map } from './map.ts'; 13export type { MapOptions } from './map.ts'; 14export { roundRobin, leastBusy } from './balancers.ts'; 15export type { Task, RunResult, Balancer, Runner, WorkerHandle, WorkerOptions } from './runner.ts'; 16export { 17 shared, 18 int8, 19 uint8, 20 int16, 21 uint16, 22 int32, 23 uint32, 24 int64, 25 uint64, 26 bool, 27 int8atomic, 28 uint8atomic, 29 int16atomic, 30 uint16atomic, 31 int32atomic, 32 uint32atomic, 33 int64atomic, 34 uint64atomic, 35 boolatomic, 36 mutex, 37 rwlock, 38 bytes, 39 string, 40} from './shared/index.ts'; 41export type { Loadable, Descriptor } from './shared/index.ts'; 42export type { 43 Int8, 44 Uint8, 45 Int16, 46 Uint16, 47 Int32, 48 Uint32, 49 Int64, 50 Uint64, 51 Bool, 52 Int8Atomic, 53 Uint8Atomic, 54 Int16Atomic, 55 Uint16Atomic, 56 Int32Atomic, 57 Uint32Atomic, 58 Int64Atomic, 59 Uint64Atomic, 60 BoolAtomic, 61 Mutex, 62 MutexGuard, 63 RwLock, 64 ReadGuard, 65 WriteGuard, 66 SharedStruct, 67 Bytes, 68 SharedString, 69 Tuple, 70} from './shared/index.ts';