Module Github_hooks.Make

Parameters

Signature

type t
type token = Github.Token.t
val create : token -> Uri.t -> t
val run : t -> unit Lwt.t
val repos : t -> Repo.Set.t
val watch : t -> ?⁠events:Github_t.event_type list -> Repo.t -> unit Lwt.t
val events : t -> (Repo.t * Github_t.event_hook_constr) list
val clear : t -> unit
val wait : t -> unit Lwt.t