aboutsummaryrefslogtreecommitdiff
path: root/lib/client.ml
diff options
context:
space:
mode:
authorAdelyn Breedlove <[email protected]>2019-01-19 13:06:40 -0700
committerAdelyn Breedlove <[email protected]>2019-01-19 13:06:40 -0700
commit721bbc88c75eea240607054f2ec5a371f4d60e08 (patch)
tree40af2abb5f6179194c0580defee32215245d04ef /lib/client.ml
parentAdd docs to event dispatch (diff)
downloaddisml-721bbc88c75eea240607054f2ec5a371f4d60e08.tar.xz
disml-721bbc88c75eea240607054f2ec5a371f4d60e08.zip
Some changes for doc readability
Diffstat (limited to 'lib/client.ml')
-rw-r--r--lib/client.ml7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/client.ml b/lib/client.ml
index 49d01dc..3b0024d 100644
--- a/lib/client.ml
+++ b/lib/client.ml
@@ -1,5 +1,6 @@
open Async
-include Config
+include Client_options
+include Dispatch
type t = {
sharder: Sharder.t;
@@ -7,10 +8,10 @@ type t = {
}
let start ?count token =
- Config.token := token;
+ Client_options.token := token;
Sharder.start ?count ()
>>| fun sharder ->
- { sharder; token = !Config.token; }
+ { sharder; token; }
let set_status ~status client =
Sharder.set_status ~status client.sharder