dry-rb / dry-effects

Algebraic effects in Ruby
https://dry-rb.org/gems/dry-effects/
MIT License
112 stars 20 forks source link

Support for metadata in the lock backend #51

Closed flash-gordon closed 5 years ago

flash-gordon commented 5 years ago

It can be useful to trace locks in order to provide more meaningful error messages etc. A backend can have a naive implementation and always return nil if it cannot be supported.