Routes authoring requests to a caller-owned compiler pool.
Start Letterpress.Compiler.Supervisor in the host application's supervision
tree before calling authoring functions. The framed protocol and worker
lifecycle remain private; callers receive tagged errors and never observe
port messages or worker process identities.
Summary
Types
An operation implemented by the bundled compiler protocol.
Functions
Returns whether :pool has at least one registered compiler worker.
Executes a bounded operation in a compiler pool.
Returns :ready when :pool has a worker, otherwise :unavailable.
Types
Functions
Returns whether :pool has at least one registered compiler worker.
The default pool is Letterpress.Compiler.Pool.
Executes a bounded operation in a compiler pool.
Options
:pool- registered compiler pool; defaults toLetterpress.Compiler.Pool:timeout- request deadline in milliseconds; defaults to15000
Most consumers should call the facade functions in Letterpress.
@spec status(keyword()) :: :unavailable | :ready
Returns :ready when :pool has a worker, otherwise :unavailable.
This is suitable for authoring-node readiness checks. Delivery-only nodes do not need a compiler pool and should not include it in their readiness policy.