Warning: Reason support is experimental. We are looking for beta-tester and contributors.

Module Os_user_proxy

module Os_user_proxy : sig..end

get_data userid returns the user which has ID userid. For the moment, myid_o is not used but it will be use later.

Data comes from the database, not the cache.

val get_data : Os_types.User.id -> Os_types.User.t Lwt.t
val get_data_rpc : 
  (Os_types.User.id, Os_types.User.t) Eliom_client.server_function

get_data_rpc is a RPC to <<a_api subproject="server" | module Os_user_proxy.get_data_rpc'>>

val get_data_from_cache : Os_types.User.id -> Os_types.User.t Lwt.t

get_data_from_cache userid returns the user with ID userid saved in cache.