Description
Allows storing different resource-releasing actions together.
Description
Disposable allows storing different resource releasing actions togther in a container. This library is useful for queueing up GHCJS.Foreign.Callback together to be released after a new rendering frame.
README.md
Disposable allows storing different resource releasing actions togther in a container. This library is useful for queueing up GHCJS.Foreign.Callback together to be released after a new rendering frame.
Changelog
- 1.0.0.0
- Breaking changes:
- Simplified by removing SomeDisposable GADT; Disposable is now a newtype, and the typeclass is called Dispose.
- The intention is no longer to create Disposable instances for everything.
- Disposable is only used to provide a safe wrapper around IO to ensure that it performs no other side effects.
- Breaking changes: