Namespace CobaltPdf.WebKit.Infrastructure.Pooling
Interfaces
- IBrowserLease
An exclusive lease on one warm render worker from the pool. Dispose to return the worker (or have it recycled if it's exhausted / unhealthy).
The lease is the public-facing handle; the internal worker object is accessed through UseCount for diagnostics. Callers obtain a lease from AcquireAsync(CancellationToken) and dispatch jobs through the pool manager's helper APIs rather than poking the worker directly.
- IBrowserPoolManager
Pool manager contract. The WebKitGTK backend keeps one long-running
render.py --servesubprocess per warm slot; AcquireAsync(CancellationToken) hands out an exclusive lease for the duration of one render.