You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm taking a look at ocaml-mysql for interfacing with Google Cloud SQL. Since the application uses Lwt, I'm using Lwt_preemptive.detach to get around ocaml-mysql offering only a blocking API. There is one major hurdle with this approach, however: it's not always obvious which functions block on I/O and which ones don't. It would be nice if the API documentation for ocaml-mysql were explicit on this matter.
The text was updated successfully, but these errors were encountered:
I think this is better left of for the libmysqlclient documentation, to avoid duplication. For example some libmysqlclient internals might change and the function that was interacting with server may stop doing so or vice versa, do we really want to track all such cases?
I'm taking a look at
ocaml-mysql
for interfacing with Google Cloud SQL. Since the application uses Lwt, I'm usingLwt_preemptive.detach
to get aroundocaml-mysql
offering only a blocking API. There is one major hurdle with this approach, however: it's not always obvious which functions block on I/O and which ones don't. It would be nice if the API documentation forocaml-mysql
were explicit on this matter.The text was updated successfully, but these errors were encountered: