aws-s3 icon indicating copy to clipboard operation
aws-s3 copied to clipboard

Add support for `Eio`.

Open zoj613 opened this issue 1 year ago • 2 comments

It would be nice to have support for using Eio as the concurrency library instead of async or lwt.

zoj613 avatar Nov 16 '24 16:11 zoj613

I think it should be possible without too many foundational changes. An EIO implementation need to provide an implementation of Aws_s3.Types.Io. I have not tried, but I had success doing this for zmq-eio implementation

'a Deferred.t should be declared as type 'a Deferred.t = 'a and then go from there.

andersfugmann avatar Nov 25 '24 21:11 andersfugmann

I've started working on this (https://github.com/andersfugmann/aws-s3/tree/andersfugmann/eio) I've run into a few challenges:

  • There does not seem to be a http streaming library for EIO that supports
  • Eio needs an environment to use the network and timers (for setting timouts)

andersfugmann avatar Nov 29 '24 09:11 andersfugmann