package eliom

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Eliom_lib.Dom_referenceSource

Sourcetype key
Sourceval new_key : unit -> key
Sourceval retain : ?key:key -> _ Js_of_ocaml.Js.t -> keep:_ -> unit

retain v ~keep prevents keep from being garbage collected while v is live. An optional key can be specified if one needs to remove this association later one.

Sourceval retain_generic : ?key:key -> _ -> keep:_ -> unit

Same as retain but works with any object. More error-prone

Sourceval release : key:key -> _ -> unit

release ~key o removes the association between the value v and the value associated to key.

Sourceval transfer : key:key -> src:_ -> dst:_ -> unit

transfer ~key ~src ~dst transfers the association between the value src and the value associated to key key to value dst.

OCaml

Innovation. Community. Security.