aboutsummaryrefslogtreecommitdiff
path: root/lib/gateway/event.mli
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gateway/event.mli')
-rw-r--r--lib/gateway/event.mli4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/gateway/event.mli b/lib/gateway/event.mli
index 4db3c84..1817c52 100644
--- a/lib/gateway/event.mli
+++ b/lib/gateway/event.mli
@@ -43,7 +43,7 @@ type t =
val event_of_yojson : contents:Yojson.Safe.t -> string -> t
(** Sends the event to the registered handler. *)
-val dispatch : t -> unit
+val dispatch : Cache.t -> t -> Cache.t
(** Wrapper to other functions. This is called from the shards. *)
-val handle_event : ev:string -> Yojson.Safe.t -> unit \ No newline at end of file
+val handle_event : ev:string -> Yojson.Safe.t -> unit Lwt.t \ No newline at end of file