Skip to main content

serve

Function serve 

Source
pub async fn serve(
    cfg: RevalidateConfig,
    host: IpAddr,
    port: u16,
) -> Result<(), Error>
Expand description

Run the receiver: bind port, serve the router, and drain pokes through revalidate_once one at a time (renders are serialized โ€” one V8 boot at a time keeps the footprint bounded). Runs until a hard I/O error.