package js_of_ocaml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
  • deprecated Will be removed past 2019-01-01. Use Js_of_ocaml.Worker instead.
class type ['a, 'b] worker = object ... end
class type errorEvent = object ... end
class type 'a messageEvent = object ... end
val create : string -> ('a, 'b) worker Js_of_ocaml.Js.t

Global function to be used by the worker.

val import_scripts : string list -> unit
val set_onmessage : ('a -> unit) -> unit
val post_message : 'a -> unit
OCaml

Innovation. Community. Security.