ferdynton / ferdynton/unique_thread

Introduce a `UniqueThread.loop` shorthand

Open
#5 0 comments 0 reactions 0 assignees View on GitHub
enhancement to do
Dominant language
Ruby
Stars
2
Forks
2
PR merge metrics
No merged PRs in 30d

Description

The interface would look like:

```ruby
UniqueThread.loop('lock_name', sleep: 30) do
# do something every 30 seconds
end
```

This seems to be the most common use case for this gem so far, so it makes sense to have a shorthand for it.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.