package js_of_ocaml-compiler

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

Module Jsoo_runtimeSource

Sourcemodule Js : sig ... end
Sourcemodule Sys : sig ... end
Sourcemodule Error : sig ... end
Sourcemodule For_compatibility_only : sig ... end
Sourcemodule Typed_array : sig ... end
Sourcemodule Int64 : sig ... end
Sourcemodule Effect : sig ... end
Sourcemodule Promise : sig ... end

Low-level wrap/unwrap helpers for the Js_of_ocaml.Promise binding. Implemented in runtime/{js,wasm}/promise.{js,wat}. Wrapping is conditional on the value being thenable, so non-thenable values are passed through unchanged.