module Worker:sig
..end
See
the documented Javascript API and some more general documentation
about the usage of WebWorker.
class type[['a, 'a0]]
worker =object
..end
class type errorEvent =object
..end
class type['a]
messageEvent =object
..end
val create : string -> ('a, 'b) worker Js.t
val import_scripts : string list -> unit
val set_onmessage : ('a -> unit) -> unit
val post_message : 'a -> unit