This is client API (go to server)

Module Eliom_comet

module Eliom_comet : sig..end

Handle unsolicited server to client communications.

See the Eliom manual for a detailed introduction to the concept of client server communication.

When the page is not active the client stops making comet requests to the server, implying that the client can't be notified by the server anymore. The activity status is changed when the page is focused or unfocused.

To stop receiving inputs from a channel, use Lwt.cancel on a thread waiting for data. For instance, if you iterate with let t = Lwt_stream.iter f %channel calling Lwt.