SYMBOL INDEX (193 symbols across 28 files) FILE: benchmark/isolate-benchmark.bench.ts constant THREADS (line 7) | const THREADS = cpus().length - 1 constant ROUNDS (line 8) | const ROUNDS = THREADS * 10 constant ITERATIONS (line 9) | const ITERATIONS = 100 function execute (line 53) | async function execute() { function workerThreadTask (line 66) | async function workerThreadTask() { function childProcessTask (line 78) | async function childProcessTask() { FILE: eslint.config.js function defineConfig (line 69) | function defineConfig(config) { FILE: global.d.ts type Process (line 3) | interface Process { FILE: src/common.ts type TinypoolChannel (line 5) | interface TinypoolChannel { type TinypoolWorker (line 16) | interface TinypoolWorker { type TinypoolWorkerMessage (line 43) | interface TinypoolWorkerMessage< type StartupMessage (line 50) | interface StartupMessage { type RequestMessage (line 58) | interface RequestMessage { type ReadyMessage (line 65) | interface ReadyMessage { type ResponseMessage (line 69) | interface ResponseMessage { type TinypoolPrivateData (line 76) | interface TinypoolPrivateData { type TinypoolData (line 80) | type TinypoolData = [TinypoolPrivateData, any] // [{ ... }, workerData] function isTransferable (line 90) | function isTransferable(value: any): boolean { function isMovable (line 101) | function isMovable(value: any): boolean { function markMovable (line 105) | function markMovable(value: object): void { type Transferable (line 114) | interface Transferable { type Task (line 119) | interface Task { type TaskQueue (line 124) | interface TaskQueue { function isTaskQueue (line 132) | function isTaskQueue(value: any): boolean { FILE: src/entry/process.ts type IncomingMessage (line 11) | type IncomingMessage = type OutgoingMessage (line 15) | type OutgoingMessage = function onMessage (line 65) | async function onMessage(message: IncomingMessage & { source: 'port' }) { function serializeError (line 110) | function serializeError(error: unknown) { FILE: src/entry/utils.ts function getImportESM (line 9) | function getImportESM() { type Handler (line 21) | type Handler = Function function getHandler (line 26) | async function getHandler( function throwInNextTick (line 72) | function throwInNextTick(error: Error) { FILE: src/entry/worker.ts function atomicsWaitLoop (line 61) | function atomicsWaitLoop(port: MessagePort, sharedBuffer: Int32Array) { function onMessage (line 91) | function onMessage( FILE: src/index.ts type Process (line 42) | interface Process { type AbortSignalEventTargetAddOptions (line 56) | interface AbortSignalEventTargetAddOptions { type AbortSignalEventTarget (line 60) | interface AbortSignalEventTarget { type AbortSignalEventEmitter (line 69) | interface AbortSignalEventEmitter { type AbortSignalAny (line 73) | type AbortSignalAny = AbortSignalEventTarget | AbortSignalEventEmitter function onabort (line 74) | function onabort(abortSignal: AbortSignalAny, listener: () => void) { class AbortError (line 81) | class AbortError extends Error { method constructor (line 82) | constructor() { method name (line 86) | get name() { class CancelError (line 91) | class CancelError extends Error { method constructor (line 92) | constructor() { method name (line 96) | get name() { type ResourceLimits (line 101) | type ResourceLimits = Worker extends { class ArrayTaskQueue (line 107) | class ArrayTaskQueue implements TaskQueue { method size (line 110) | get size() { method shift (line 114) | shift(): Task | null { method push (line 118) | push(task: Task): void { method remove (line 122) | remove(task: Task): void { method cancel (line 128) | cancel(): void { type Options (line 136) | interface Options { type FilledOptions (line 160) | interface FilledOptions extends Options { type RunOptions (line 187) | interface RunOptions { type FilledRunOptions (line 196) | interface FilledRunOptions extends RunOptions { class DirectlyTransferable (line 210) | class DirectlyTransferable implements Transferable { method constructor (line 212) | constructor(value: object) { method [kTransferable] (line 216) | get [kTransferable](): object { method [kValue] (line 220) | get [kValue](): object { class ArrayBufferViewTransferable (line 225) | class ArrayBufferViewTransferable implements Transferable { method constructor (line 227) | constructor(view: ArrayBufferView) { method [kTransferable] (line 231) | get [kTransferable](): object { method [kValue] (line 235) | get [kValue](): object { type TaskCallback (line 242) | type TaskCallback = (err: Error, result: any) => void type TransferList (line 246) | type TransferList = MessagePort extends { type TransferListItem (line 251) | type TransferListItem = TransferList extends (infer T)[] ? T : never function maybeFileURLToPath (line 253) | function maybeFileURLToPath(filename: string): string { class TaskInfo (line 261) | class TaskInfo extends AsyncResource implements Task { method constructor (line 276) | constructor( method releaseTask (line 315) | releaseTask(): any { method done (line 321) | done(err: unknown | null, result?: any): void { method [kQueueOptions] (line 338) | get [kQueueOptions](): object | null { method markAsReady (line 346) | markAsReady(): void { method isReady (line 355) | isReady(): boolean { method onReady (line 359) | onReady(fn: () => void) { class AsynchronouslyCreatedResourcePool (line 370) | class AsynchronouslyCreatedResourcePool< method constructor (line 378) | constructor(maximumUsage: number) { method add (line 383) | add(item: T) { method delete (line 395) | delete(item: T) { method findAvailable (line 400) | findAvailable(): T | null { method size (line 419) | get size() { method maybeAvailable (line 423) | maybeAvailable(item: T) { method onAvailable (line 432) | onAvailable(fn: (item: T) => void) { method [Symbol.iterator] (line 414) | *[Symbol.iterator]() { type ResponseCallback (line 437) | type ResponseCallback = (response: ResponseMessage) => void class WorkerInfo (line 448) | class WorkerInfo extends AsynchronouslyCreatedResource { method constructor (line 463) | constructor( method destroy (line 489) | async destroy(timeout?: number): Promise { method clearIdleTimeout (line 542) | clearIdleTimeout(): void { method ref (line 549) | ref(): WorkerInfo { method unref (line 554) | unref(): WorkerInfo { method _handleResponse (line 561) | _handleResponse(message: ResponseMessage): void { method postTask (line 572) | postTask(taskInfo: TaskInfo) { method processPendingMessages (line 604) | processPendingMessages() { method isRunningAbortableTask (line 624) | isRunningAbortableTask(): boolean { method currentUsage (line 632) | currentUsage(): number { class ThreadPool (line 638) | class ThreadPool { method constructor (line 651) | constructor(publicInterface: Tinypool, options: Options) { method _ensureEnoughWorkersForTaskQueue (line 691) | _ensureEnoughWorkersForTaskQueue(): void { method _ensureMaximumWorkers (line 700) | _ensureMaximumWorkers(): void { method _ensureMinimumWorkers (line 706) | _ensureMinimumWorkers(): void { method _addNewWorker (line 712) | _addNewWorker(): void { method _processPendingMessages (line 856) | _processPendingMessages() { method _removeWorker (line 871) | _removeWorker(workerInfo: WorkerInfo): Promise { method _onWorkerAvailable (line 879) | _onWorkerAvailable(workerInfo: WorkerInfo): void { method runTask (line 915) | runTask(task: any, options: RunOptions): Promise { method shouldRecycleWorker (line 1046) | shouldRecycleWorker(taskInfo?: TaskInfo): boolean { method pendingCapacity (line 1070) | pendingCapacity(): number { method _maybeDrain (line 1076) | _maybeDrain() { method destroy (line 1082) | async destroy() { method recycleWorkers (line 1104) | async recycleWorkers(options: Pick = {}) { class Tinypool (line 1141) | class Tinypool extends EventEmitterAsyncResource { method constructor (line 1144) | constructor(options: Options = {}) { method run (line 1182) | run(task: any, options: RunOptions = kDefaultRunOptions) { method destroy (line 1195) | async destroy() { method options (line 1200) | get options(): FilledOptions { method threads (line 1204) | get threads(): TinypoolWorker[] { method queueSize (line 1212) | get queueSize(): number { method cancelPendingTasks (line 1217) | cancelPendingTasks() { method recycleWorkers (line 1222) | async recycleWorkers(options: Pick = {}) { method completed (line 1226) | get completed(): number { method duration (line 1230) | get duration(): number { method isWorkerThread (line 1234) | static get isWorkerThread(): boolean { method workerData (line 1238) | static get workerData(): any { method version (line 1242) | static get version(): string { method move (line 1249) | static move( method transferableSymbol (line 1270) | static get transferableSymbol() { method valueSymbol (line 1274) | static get valueSymbol() { method queueOptionsSymbol (line 1278) | static get queueOptionsSymbol() { FILE: src/runtime/process-worker.ts constant SIGKILL_TIMEOUT (line 11) | const SIGKILL_TIMEOUT = 1000 class ProcessWorker (line 13) | class ProcessWorker implements TinypoolWorker { method initialize (line 23) | initialize(options: Parameters[0]) { method terminate (line 52) | async terminate() { method setChannel (line 71) | setChannel(channel: TinypoolChannel) { method send (line 85) | private send(message: Parameters... method postMessage (line 91) | postMessage(message: any, transferListItem?: Readonly void) { method once (line 136) | once(event: string, callback: (...args: any[]) => void) { method emit (line 140) | emit(event: string, ...data: any[]) { method ref (line 144) | ref() { method unref (line 148) | unref() { function hasUnref (line 168) | function hasUnref(stream: null | object): stream is { unref: () => void } { FILE: src/runtime/thread-worker.ts class ThreadWorker (line 5) | class ThreadWorker implements TinypoolWorker { method initialize (line 12) | initialize(options: Parameters[0]) { method terminate (line 20) | async terminate() { method postMessage (line 28) | postMessage(message: any, transferListItem?: Readonly void) { method once (line 36) | once(event: string, callback: (...args: any[]) => void) { method emit (line 40) | emit(event: string, ...data: any[]) { method ref (line 44) | ref() { method unref (line 48) | unref() { method setChannel (line 52) | setChannel(channel: TinypoolChannel) { FILE: src/utils.ts function stdout (line 1) | function stdout(): NodeJS.WriteStream | undefined { function stderr (line 6) | function stderr(): NodeJS.WriteStream | undefined { FILE: test/async-context.test.ts method init (line 16) | init(id, type) { method before (line 22) | before(id) { method after (line 25) | after(id) { method promiseResolve (line 28) | promiseResolve() { FILE: test/atomic.test.ts function popcount8 (line 62) | function popcount8(v: number): number { FILE: test/fixtures/child_process-communication.mjs function run (line 1) | async function run(task) { FILE: test/fixtures/leak-memory.js function run (line 11) | function run(bytes) { FILE: test/fixtures/multiple.js function a (line 3) | function a() { function b (line 7) | function b() { FILE: test/fixtures/nested-pool.mjs function nestedPool (line 4) | async function nestedPool() { function entrypoint (line 17) | function entrypoint() {} FILE: test/fixtures/stdio.mjs function run (line 1) | function run() { FILE: test/fixtures/teardown.mjs function task (line 8) | function task(options) { function namedTeardown (line 15) | async function namedTeardown() { FILE: test/globals.test.ts function createPool (line 23) | function createPool(options: Partial) { FILE: test/isolation.test.ts function getThreadIds (line 17) | function getThreadIds() { function getThreadIds (line 47) | function getThreadIds() { function times (line 77) | function times(count: number) { function intersection (line 83) | function intersection(a: T[], b: T[]) { FILE: test/move.test.ts method [transferableSymbol] (line 14) | get [transferableSymbol](): object { method [valueSymbol] (line 17) | get [valueSymbol](): object { method [transferableSymbol] (line 36) | get [transferableSymbol](): object { method [valueSymbol] (line 39) | get [valueSymbol](): object { FILE: test/pool-destroy.test.ts method init (line 42) | init(asyncId, type) { method destroy (line 47) | destroy(asyncId) { FILE: test/runtime.test.ts function createPool (line 351) | function createPool(options: Partial) { FILE: test/simple.test.ts function addWorkerId (line 261) | function addWorkerId(workerId: number) { FILE: test/task-queue.test.ts class CustomTaskPool (line 238) | class CustomTaskPool implements TaskQueue { method size (line 241) | get size(): number { method shift (line 246) | shift(): Task | null { method push (line 251) | push(task: Task): void { method remove (line 267) | remove(task: Task): void { method cancel (line 272) | cancel() {} function makeTask (line 283) | function makeTask(task: any, option: any) { FILE: test/teardown.test.ts function unexpectedTeardown (line 37) | function unexpectedTeardown(message: string) { FILE: test/worker-stdio.test.ts function createPool (line 32) | function createPool(options: Partial) { function captureStandardStream (line 43) | function captureStandardStream(type: 'stdout' | 'stderr') {