Module Preemptive


module Preemptive: sig .. end
This module allows to mix preemptive threads with Lwt cooperative threads. It maintains an extensible pool of preemptive threads to with you can detach computations.

val detach : ('a -> 'b) -> 'a -> 'b Lwt.t
detaches a computation to a preemptive thread.