diff options
| author | Adelyn Breedlove <[email protected]> | 2019-01-13 23:52:45 +0000 |
|---|---|---|
| committer | Adelyn Breedlove <[email protected]> | 2019-01-13 23:52:45 +0000 |
| commit | d95f0342f9cf2280b5d9794ab638c16a59c02a69 (patch) | |
| tree | 191164d198c07cf388d9aae8a54013e5613c272c /lib/client.ml | |
| parent | Merge branch 'dev' into 'master' (diff) | |
| parent | Add deriving sexp to models (diff) | |
| download | disml-d95f0342f9cf2280b5d9794ab638c16a59c02a69.tar.xz disml-d95f0342f9cf2280b5d9794ab638c16a59c02a69.zip | |
Merge branch 'switch-to-deriving_yojson' into 'master'
Switch to deriving yojson
See merge request Mishio595/disml!12
Diffstat (limited to 'lib/client.ml')
| -rw-r--r-- | lib/client.ml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/client.ml b/lib/client.ml index 229c9cc..6ee4a3a 100644 --- a/lib/client.ml +++ b/lib/client.ml @@ -1,7 +1,5 @@ -open Async - module Make(T : S.Token)(H : S.Handler_f) = struct - include T + open Async module Http = Http.Make(T) module Models = Models.Make(Http) @@ -14,6 +12,8 @@ module Make(T : S.Token)(H : S.Handler_f) = struct token: string; } + let token = T.token + let start ?count () = Sharder.start ?count () >>| fun sharder -> |