Skip to content

IMHO: IDistributedLock should be public #10

Description

@nerumo

IMHO: The IDistributedLock should be public. Because:

  • The caller of the lock doesn't have to know what implementation of lock it's using
  • Unit Testing: if it already contains an interface, I don't have to abstract the DistributedLock any further.
  • The interface is no internal implementation detail, indeed it is the interface of the lock api

Btw, thanks for the good work in this project

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions