package lwt

  1. Overview
  2. No Docs
Promises and event-driven I/O

Install

dune-project
 Dependency

Authors

Maintainers

Sources

5.5.0.tar.gz
md5=94272fac89c5bf21a89c102b8a8f35a5
sha512=8951b94555e930634375816d71815b9d85daad6ffb7dab24864661504d11be26575ab0b237196c54693efa372a9b69cdc1d5068a20a250dc0bbb4a3c03c5fda1

Description

A promise is a value that may become determined in the future.

Lwt provides typed, composable promises. Promises that are resolved by I/O are resolved by Lwt in parallel.

Meanwhile, OCaml code, including code creating and waiting on promises, runs in a single thread by default. This reduces the need for locks or other synchronization primitives. Code can be run in parallel on an opt-in basis.

Published: 26 Nov 2021

Dependencies (10)

  1. seq
  2. result
  3. ocplib-endian
  4. ocaml-syntax-shims
  5. ocaml >= "4.08.0" & < "5.5"
  6. ocaml ("os" != "win32" & >= "4.02.0" | >= "4.06.0") & < "5.0"
  7. mmap >= "1.1.0" & "os" != "win32"
  8. dune-configurator
  9. dune >= "1.8.0"
  10. cppo build & >= "1.1.0"

Dev Dependencies (1)

  1. ocamlfind with-dev-setup & >= "1.7.3-1"

  1. 0install >= "2.15.1"
  2. aches-lwt
  3. activitypub
  4. albatross
  5. alcotest-lwt
  6. alcotest-mirage
  7. ambient-context-lwt
  8. amqp-client >= "1.1.0"
  9. amqp-client-lwt
  10. angstrom-lwt-unix
  11. anthill
  12. anycache-lwt
  13. archi-lwt
  14. arp
  15. awa-mirage
  16. aws-lwt
  17. aws-s3-lwt
  18. awsm-lwt
  19. azure-cosmos-db
  20. balancer
  21. bastet_lwt
  22. bimage-lwt
  23. bistro
  24. brisk-reconciler
  25. brozip
  26. builder
  27. builder-web < "0.2.0"
  28. bun >= "0.3.3"
  29. cachet-lwt
  30. calculon
  31. caldav
  32. camltc
  33. canary
  34. capnp-rpc-lwt < "1.2.3"
  35. capnp-rpc-unix < "1.2.3"
  36. caqti-lwt
  37. caqti-mirage
  38. carton < "1.0.0"
  39. carton-git < "0.7.2"
  40. carton-lwt
  41. catala-format >= "0.2.0"
  42. cf-lwt
  43. chamelon
  44. chamelon-unix
  45. chamo
  46. charrua-client
  47. charrua-unix
  48. ciao_lwt
  49. clz
  50. cmdtui-lambda-term
  51. cohttp-curl-lwt
  52. cohttp-lwt < "6.0.0"
  53. cohttp-lwt-jsoo != "6.1.0" & < "6.2.1"
  54. cohttp-lwt-unix
  55. cohttp-mirage
  56. cohttp-server-lwt-unix
  57. comby
  58. comby-semantic
  59. conan-lwt
  60. conduit-lwt < "7.0.0"
  61. conduit-lwt-unix < "7.0.0"
  62. cowabloga
  63. crunch
  64. cstruct-lwt
  65. csv-lwt
  66. ctypes >= "0.15.0" & < "0.21.1"
  67. ctypes-foreign >= "0.21.1"
  68. curl_lwt
  69. current < "0.7.1"
  70. current_docker < "0.7.1"
  71. current_examples < "0.7.1"
  72. current_git < "0.7.1"
  73. current_github < "0.7.1"
  74. current_gitlab < "0.7.1"
  75. current_ocluster < "0.2"
  76. current_rpc < "0.6.4"
  77. current_slack < "0.7.1"
  78. current_web < "0.7.1"
  79. dap
  80. data-encoding < "0.1.1"
  81. datakit-server
  82. devkit >= "1.2"
  83. distributed-lwt
  84. dkim-bin < "0.8.0"
  85. dkim-lwt-unix
  86. dkim-mirage
  87. dlm
  88. dmarc
  89. dns-certify
  90. dns-cli
  91. dns-client < "7.0.3"
  92. dns-client-lwt
  93. dns-client-mirage
  94. dns-forward
  95. dns-forward-lwt-unix
  96. dns-lwt
  97. dns-mirage
  98. dns-resolver
  99. dns-server
  100. dns-stub
  101. dnsrobot
  102. dnssd
  103. docker_hub
  104. docteur
  105. docteur-solo5
  106. docteur-unix
  107. doi2bib
  108. dream
  109. dream-httpaf
  110. dream-pure
  111. dream-serve
  112. dropbox
  113. dune >= "3.17.2"
  114. earlybird
  115. elasticsearch-cli
  116. emoji = "2.0.0"
  117. equinoxe
  118. ethernet
  119. ez_api
  120. ezcurl-lwt
  121. ezjs_min < "0.2"
  122. ezjsonm-lwt
  123. ezresto
  124. ezresto-directory >= "0.5"
  125. faraday-lwt
  126. faraday-lwt-unix
  127. fat-filesystem
  128. fiber-lwt
  129. fsevents-lwt
  130. fswatch_lwt
  131. fuseau-lwt
  132. gdbprofiler
  133. git
  134. git-cohttp
  135. git-cohttp-unix
  136. git-mirage
  137. git-paf
  138. git-unix >= "3.2.0" & < "3.15.0"
  139. github
  140. github-hooks
  141. github-unix >= "4.4.0"
  142. gitlab-unix
  143. gluten-lwt
  144. gluten-lwt-unix < "0.4.0"
  145. gluten-mirage < "0.4.0"
  146. graphql-lwt
  147. gremlin
  148. grpc-lwt
  149. gufo
  150. h1
  151. h1-lwt-unix
  152. h2-lwt
  153. h2-lwt-unix < "0.10.0"
  154. h2-mirage
  155. happy-eyeballs-lwt
  156. happy-eyeballs-mirage
  157. hiredis >= "0.6"
  158. hl_yaml
  159. hockmd
  160. http-lwt-client
  161. http-mirage-client
  162. http-multipart-formdata >= "2.0.0" & < "3.0.0"
  163. httpaf-lwt-unix
  164. httpun-lwt
  165. httpun-mirage
  166. httpun-ws-lwt
  167. hvsock
  168. i3ipc
  169. influxdb-lwt
  170. inotify >= "2.4"
  171. inquire < "0.3.0"
  172. interface-prime-lwt
  173. ip2location
  174. ip2locationio
  175. ip2whois
  176. ipv6-multicast-lwt
  177. irc-client-lwt
  178. irc-client-lwt-ssl
  179. irc-client-tls
  180. irmin
  181. irmin-bench
  182. irmin-chunk
  183. irmin-cli
  184. irmin-containers
  185. irmin-fs
  186. irmin-git
  187. irmin-graphql
  188. irmin-http
  189. irmin-indexeddb
  190. irmin-layers
  191. irmin-mirage-git
  192. irmin-mirage-graphql
  193. irmin-pack
  194. irmin-server
  195. irmin-test
  196. irmin-unix
  197. irmin-watcher
  198. joolog
  199. jose < "0.9.0"
  200. js_of_ocaml-lwt >= "3.5.0"
  201. jsoo_broadcastchannel
  202. jsoo_storage
  203. jupyter
  204. jupyter-kernel
  205. kafka < "0.5"
  206. kafka_lwt
  207. kappa-library
  208. ke >= "0.5"
  209. kinetic-client
  210. kubecaml
  211. lambda-runtime
  212. lambda-term
  213. lambda_streams_lwt
  214. launchd
  215. ldp
  216. learn-ocaml
  217. learn-ocaml-client
  218. letsencrypt < "2.0.0"
  219. letsencrypt-app
  220. letsencrypt-dns < "2.0.0"
  221. letters
  222. links >= "0.9.1"
  223. linol-lwt
  224. llama
  225. lru_cache
  226. lwt-canceler
  227. lwt-dllist
  228. lwt-exit
  229. lwt-parallel
  230. lwt-pipe
  231. lwt-pipeline
  232. lwt-watcher
  233. lwt_camlp4
  234. lwt_domain < "0.3.0"
  235. lwt_eio < "0.4"
  236. lwt_glib
  237. lwt_log
  238. lwt_ppx < "5.8.0"
  239. lwt_react
  240. lwt_retry
  241. lwt_ssl
  242. mariadb >= "1.2.0"
  243. markdown_monolith
  244. markup = "0.7.6"
  245. markup-lwt
  246. mdx
  247. mechaml
  248. memtrace-mirage
  249. metrics-influx
  250. metrics-lwt
  251. metrics-unix
  252. mimic
  253. mindstorm-lwt
  254. mirage < "4.0.0"
  255. mirage-block >= "2.0.1"
  256. mirage-block-ccm
  257. mirage-block-combinators
  258. mirage-block-lwt
  259. mirage-block-ramdisk
  260. mirage-block-solo5
  261. mirage-block-unikraft
  262. mirage-block-unix >= "2.14.2"
  263. mirage-block-xen
  264. mirage-channel >= "4.0.1"
  265. mirage-channel-lwt
  266. mirage-clock-lwt
  267. mirage-clock-unix < "4.2.0"
  268. mirage-console-lwt
  269. mirage-crypto-rng < "0.11.3"
  270. mirage-crypto-rng-lwt
  271. mirage-crypto-rng-mirage
  272. mirage-device >= "2.0.0"
  273. mirage-flow >= "3.0.0"
  274. mirage-flow-combinators
  275. mirage-flow-lwt
  276. mirage-flow-unix
  277. mirage-fs >= "4.0.0"
  278. mirage-fs-lwt
  279. mirage-kv >= "3.0.1"
  280. mirage-kv-lwt
  281. mirage-kv-unix < "3.0.1"
  282. mirage-net >= "4.0.0"
  283. mirage-net-lwt
  284. mirage-net-macosx
  285. mirage-net-solo5
  286. mirage-net-unikraft
  287. mirage-net-unix
  288. mirage-net-xen
  289. mirage-profile
  290. mirage-protocols >= "7.0.0"
  291. mirage-protocols-lwt
  292. mirage-runtime
  293. mirage-sleep
  294. mirage-solo5
  295. mirage-stack = "3.0.0"
  296. mirage-stack-lwt
  297. mirage-time >= "3.0.0"
  298. mirage-time-lwt
  299. mirage-time-unix
  300. mirage-types-lwt
  301. mirage-unikraft
  302. mirage-unix
  303. mirage-vnetif
  304. mirage-xen
  305. monorobot
  306. moonpool-lwt
  307. mrmime >= "0.5.0"
  308. multipart-form-data
  309. multipart_form >= "0.2.0" & < "0.4.0"
  310. multipart_form-cohttp-lwt < "0.6.0"
  311. multipart_form-lwt
  312. mwt
  313. naboris
  314. nbd >= "4.0.3"
  315. nbd-tool
  316. nbd-unix
  317. nocrypto
  318. nottui-lwt
  319. notty-community
  320. nproc
  321. nsq
  322. obuilder < "0.5"
  323. obus >= "1.2.1"
  324. ocluster < "0.2"
  325. ocluster-api < "0.2"
  326. ocplib-resto
  327. ocsigen-start >= "4.1.0" & < "4.7.0"
  328. ocsigenserver < "7.0.0"
  329. ocsipersist
  330. ocsipersist-dbm
  331. ocsipersist-lib
  332. ocsipersist-pgsql
  333. ocsipersist-sqlite
  334. oframl
  335. ojs-base
  336. ojs_base
  337. omigrate
  338. oneffs
  339. opam-check-npm-deps >= "4.1.0"
  340. opam-compiler < "0.2.0"
  341. opam-publish >= "3.0.0"
  342. opencage
  343. opentelemetry-client-cohttp-lwt
  344. opentelemetry-cohttp-lwt >= "0.4"
  345. opentelemetry-lwt
  346. opium
  347. opium-graphql
  348. opium_kernel
  349. opomodoro
  350. order-i3-xfce
  351. ordma
  352. osc-lwt
  353. oskel >= "0.3.0"
  354. ounit-lwt < "2.2.0"
  355. ounit2-lwt
  356. owork
  357. ozulip
  358. paf
  359. paf-cohttp
  360. passage < "0.1.8"
  361. pcap-format < "0.5.2"
  362. petrol
  363. pgx_lwt
  364. pgx_lwt_mirage
  365. pgx_lwt_unix < "2.0"
  366. piaf < "0.2.0"
  367. plebeia >= "2.0.0"
  368. plist-xml-lwt
  369. plotkicadsch
  370. posix-getopt >= "4.0.2"
  371. ppx_defer >= "0.4.0"
  372. ppx_deriving_rpc
  373. ppx_rapper_lwt
  374. proc-smaps
  375. prof_spacetime
  376. prometheus
  377. prometheus-app
  378. promise_jsoo_lwt
  379. protocol-9p
  380. protocol-9p-unix
  381. proton
  382. qcow
  383. qcow-stream
  384. qcow-tool
  385. qcow-types
  386. qfs >= "0.5"
  387. quests
  388. quickterface
  389. rawlink < "2.1"
  390. rawlink-lwt
  391. rdf_json_ld < "1.0.0"
  392. rdf_lwt < "1.0.0"
  393. redis-lwt
  394. reparse-lwt
  395. reparse-lwt-unix
  396. resource-pooling
  397. resp
  398. resp-mirage >= "0.10.0"
  399. resp-unix >= "0.10.0"
  400. resto
  401. resto-cohttp-client >= "0.4"
  402. resto-cohttp-self-serving-client
  403. resto-cohttp-server >= "0.4"
  404. resto-directory >= "0.4"
  405. riak
  406. ringo-lwt
  407. river
  408. rock
  409. rpclib-js
  410. rpclib-lwt
  411. SZXX < "4.0.0"
  412. sanddb
  413. scgi
  414. sendmail-lwt
  415. sendmail-mirage
  416. serial
  417. session-cohttp-lwt
  418. session-cookie-lwt
  419. session-postgresql-lwt
  420. sessions
  421. shared-block-ring
  422. shared-memory-ring-lwt
  423. sihl < "0.2.0"
  424. slack
  425. slacko
  426. slipshow
  427. smtml >= "0.7.0"
  428. speed
  429. spin < "0.8.0"
  430. stk
  431. stog < "1.0.0"
  432. syguslib-utils
  433. syndic >= "1.4" & < "1.6.0"
  434. tar-unix < "3.3.0"
  435. tcpip
  436. telegraml
  437. terminus
  438. tezt < "3.0.0"
  439. tidy_email
  440. timmy-lwt
  441. tls >= "0.10.6" & < "0.16.0"
  442. tls-lwt < "0.17.5"
  443. tls-mirage
  444. tube
  445. tuntap
  446. twirp_cohttp_lwt_unix
  447. uring
  448. uspf
  449. uspf-lwt
  450. uspf-mirage
  451. utcp
  452. utop
  453. uwt
  454. vchan
  455. vchan-unix
  456. vchan-xen
  457. vercel
  458. vhd-format-lwt
  459. vmnet
  460. vue-jsoo < "0.3"
  461. wayland < "2.0"
  462. webauthn
  463. xen-evtchn
  464. xen-evtchn-unix
  465. xen-gnt
  466. xen-gnt-unix
  467. xenstore
  468. xenstore-tool
  469. xenstore_transport
  470. xlsx2csv
  471. yocaml_git < "2.0.0"
  472. yocaml_unix < "2.0.0"
  473. zarr-lwt
  474. zmq-lwt

Conflicts (1)

  1. ocaml-variants = "4.02.1+BER"