index | @vltpkg/tar
References
Pool
Re-exports Pool
unpack
Re-exports unpack
UnpackRequest
Re-exports UnpackRequest
Classes
Worker
Basically just a queue of unpack requests, to keep them throttled to a reasonable amount of parallelism
Constructors
new Worker()
Parameters
• onMessage
Returns
Defined in
worker.ts:20
Properties
onMessage()
Parameters
• m: ResponseError
| ResponseOK
Returns
void
Defined in
worker.ts:18
Methods
process()
Parameters
• req: UnpackRequest
Returns
Promise
<void
>
Defined in
worker.ts:24
Type Aliases
ResponseError
Type declaration
error
id
Defined in
worker.ts:4
ResponseOK
Type declaration
id
ok
Defined in
worker.ts:5
Functions
isResponseOK()
Parameters
• o: unknown
Returns
o is ResponseOK
Defined in
worker.ts:10