brr
Worker.G
Worker global functions
brr.ocaml_poke
brr.ocaml_poke_ui
brr.poke
brr.poked
val import_scripts : Jstr.t list -> unit
import_scripts uris synchronously imports the given scripts in the worker.
import_scripts uris
val post : ?opts:Brr_io.Message.opts -> 'a -> unit
post ~opts v posts value v on the global object with options opts (the target_origin option is meaningless in this case).
post ~opts v
v
opts
target_origin
val close : unit -> unit
close () closes this worker scope.
close ()