Module Picos_lwtSource

A functor for building a Picos compatible direct style interface to Lwt with given implementation of sleep.

This basically gives you an alternative direct style interface to programming with Lwt. All the scheduling decisions will be made by Lwt.

Sourcemodule type Sleep = sig ... end

Minimal signature for an implementation of sleep using Lwt.

Sourcemodule type S = sig ... end

Direct style Picos compatible interface to Lwt.

Sourcemodule Make (_ : Sleep) : S

Make (Sleep) creates a Picos compatible interface to Lwt with given implementation of sleep.