Module Autocomplete.SourceSource
Completion source
include Jv.CONV with type t := Autocomplete.Source.t
val to_jv : Autocomplete.Source.t -> Jv.jvto_jv reveals the JavaScript implementation.
val of_jv : Jv.jv -> Autocomplete.Source.tof_jv hides the JavaScript implementation. Implementations usually do not guarantee type safety.
Source
val create :
(Autocomplete.Context.t -> Autocomplete.Result.t option Fut.t) ->
Autocomplete.Source.tGiven a a fixed array of options, return an autocompleter that completes them.