package lwt

Build not checked
  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.

Added to opam-repository:

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

Conflicts (1)

  1. ocaml-variants = "4.02.1+BER"

Build status

Results of building lwt with each compiler on check.ci.ocaml.org, run of against opam-repository 78c202b. All results for this package.

Each result links to its build log. To keep crawlers from overloading the site, build logs require a GitHub sign-in (see ocurrent/opam-health-check). On your first log, GitHub asks you to “Authorize opam-health-check”, the OCurrent app that runs these checks; it sees only your public profile, not your repositories. The sign-in lasts 30 days.

This version is not in the latest run; the versions below are.

Version OCaml 4.11 OCaml 4.14 OCaml 5.2 OCaml 5.4 OCaml 5.5
6.1.2 n/a good good good good
5.10.1 good good good good good
  • good Package successfully built
  • partial One of the dependencies failed to build
  • bad Package failed to build
  • n/a Package is not available in this environment
  • internal Internal failure