Closed domenkozar closed 6 years ago
We shouldn't merge this, but since Handler has no MonadResource instance, this does compile. I'm almost certain that those resources aren't cleaned up.
Handler
Inspired by https://stackoverflow.com/questions/49338771/streaming-from-s3-bucket-using-amazonka-and-streaming-library
Example: https://github.com/domenkozar/servant-streaming-amazonka/pull/1
We shouldn't merge this, but since
Handler
has no MonadResource instance, this does compile. I'm almost certain that those resources aren't cleaned up.Inspired by https://stackoverflow.com/questions/49338771/streaming-from-s3-bucket-using-amazonka-and-streaming-library
Example: https://github.com/domenkozar/servant-streaming-amazonka/pull/1