Imandra_interactive.Interactive_background_thread
include Imandra_thread_util.Background_thread.S
include Imandra_thread_util.Fut.EXECUTOR
module Fut : Imandra_thread_util.Fut.S
val call : name:string -> ( 'a -> 'b ) -> 'a -> 'b Fut.t
call thread f x
queues a task that will compute f x
, and returns a future for the result of that computation.
val call0 : name:string -> ( unit -> 'a ) -> 'a Fut.t
val call1 : name:string -> ( 'a -> 'b ) -> 'a -> 'b Fut.t
val call2 : name:string -> ( 'a -> 'b -> 'c ) -> 'a -> 'b -> 'c Fut.t
val unwrap_ : ( 'a, Fut.exn_with_bt_opt ) Stdlib.result -> 'a