aboutsummaryrefslogtreecommitdiff
path: root/lib/sharder.ml
diff options
context:
space:
mode:
authorAdelyn Breelove <[email protected]>2019-01-17 09:03:52 -0700
committerAdelyn Breelove <[email protected]>2019-01-17 09:03:52 -0700
commitc22cea2e99dff9ff45057ef33553dac8adebf0c1 (patch)
treeb6f571ad2197e6614ad64392d65f774bb34eee4e /lib/sharder.ml
parentmore mlis (diff)
downloaddisml-c22cea2e99dff9ff45057ef33553dac8adebf0c1.tar.xz
disml-c22cea2e99dff9ff45057ef33553dac8adebf0c1.zip
new event dispatching
Diffstat (limited to 'lib/sharder.ml')
-rw-r--r--lib/sharder.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sharder.ml b/lib/sharder.ml
index 8b32434..823fe28 100644
--- a/lib/sharder.ml
+++ b/lib/sharder.ml
@@ -63,7 +63,7 @@ module Shard = struct
Ivar.fill_if_empty shard.ready ();
J.(member "session_id" data |> to_string_option)
end else None in
- Event.dispatch ~ev:t data;
+ Event.handle_event ~ev:t data;
return { shard with
seq = seq;
session = session;