CompactionJob¶
A background compaction started by WarmMemorySystem.startCompaction. Collecting it cancels the job; the worker is joined off the JavaScript thread.
Constructors¶
Constructor¶
Returns¶
CompactionJob
Accessors¶
finished¶
Get Signature¶
Returns¶
boolean
Methods¶
cancel()¶
Requests cancellation; idempotent. Ignored once publication has begun.
Returns¶
void
progress()¶
Returns¶
wait()¶
Resolves with the job's report once the worker has released the store; every call resolves with the same report.
Returns¶
Promise\<CompactionReport>