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.9.tbz
sha512=45cdf73c6a23c8fc4609a32ae2196d4790e5bdba34ca0b784bff9c0b70dab233eb336f1c11dc3002451042ff4cf25b643098ad0d011f14c3d6175842113bed21
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