package brr
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
Browser programming toolkit for OCaml
Install
dune-project
Dependency
Authors
Maintainers
Sources
brr-0.0.8.tbz
sha512=49e7bfbad2ea6a0139354e4a33c59c8a113c4c1e20a4f629bc5cad24aa801e474b4af10ce35adbda5d23dd294d1de5efa5b10bb3030d03f4758459977250a0f6
doc/brr/Brr_webworkers/Worker/index.html
Module Brr_webworkers.WorkerSource
Web workers.
See the Web Workers API.
Enumerations
Workers
The type for worker options.
Source
val opts :
?type':Type.t ->
?credentials:Brr_io.Fetch.Request.Credentials.t ->
?name:Jstr.t ->
unit ->
optsopts ~type' ~credentials ~name () are worker options with given parameters. See here for defaults and semantics.
as_target w is w as an event target.
terminate w terminates worker w.
post ~opts w v posts value v on port p with options opts (the target_origin option is meaningless in this case).
Shared workers
Shared workers.
Worker context
These APIs are used by the workers.
ami () is true if we are executing in a worker context.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page