package virtual_dom

  1. Overview
  2. Docs
OCaml bindings for the virtual-dom library

Install

Dune Dependency

Authors

Maintainers

Sources

virtual_dom-v0.16.0.tar.gz
sha256=0c6f07894dce56db88d46b3aa4f2cad1a84aeaf0009560a285492f9f2959d565

doc/virtual_dom.ui_effect/Ui_effect/For_testing/index.html

Module Ui_effect.For_testingSource

Sourcemodule Svar : sig ... end

You can think of an Svar.t as like an Ivar.t whose purpose is to allow us to implement of_svar below.

Sourceval of_svar_fun : ('query -> 'result Svar.t) -> 'query -> 'result t

Create an effect from a function that returns an Svar.t. This is mostly useful in testing, to emulate a 'query -> 'result Deferred.t function that does not return immediately. You may find Query_response_tracker a more convenient interface than using of_svar directly.

Sourcemodule Query_response_tracker : sig ... end
Sourceval of_query_response_tracker : ('query, 'result) Query_response_tracker.t -> 'query -> 'result t
OCaml

Innovation. Community. Security.