pub async fn serve(timer_loop: Rc<Loop>, requests: WakeAlarmsRequestStream)Expand description
Serves a single Wake API client.
This function processes incoming requests from a fta::WakeAlarmsRequestStream,
handling each request by calling handle_request. It continues to process
requests until the stream is exhausted.
ยงArgs
timer_loop: A reference-counted pointer to theLoopthat manages timers.requests: The stream of incomingfta::WakeAlarmsRequestfrom a client.