Skip to content

Deprecate Resolvable#limit compatibility bridge for timeout#115

Draft
silug wants to merge 1 commit intoOpenVoxProject:mainfrom
silug:deprecate-resolvable-limit
Draft

Deprecate Resolvable#limit compatibility bridge for timeout#115
silug wants to merge 1 commit intoOpenVoxProject:mainfrom
silug:deprecate-resolvable-limit

Conversation

@silug
Copy link
Copy Markdown

@silug silug commented Apr 13, 2026

Short description

limit was added to avoid a naming conflict with Timeout.timeout overwriting the attr_reader. Move internal callers in value to use @timeout || 0 directly so the deprecation warning only fires for external callers.

Closes #91

Checklist

I have:

  • read the CONTRIBUTING.md document
  • read and accepted the Developer Certificate of Origin document and added a Signed-off-by annotation to each of my commits
  • tested this code
  • included documentation (including possible behaviour changes)
  • documented the code
  • added or modified regression test(s)
  • added or modified unit test(s)

`limit` was added to avoid a naming conflict with `Timeout.timeout`
overwriting the `attr_reader`. Move internal callers in value to use
`@timeout || 0` directly so the deprecation warning only fires for
external callers.

Closes OpenVoxProject#91

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: Steven Pritchard <steven.pritchard@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Deprecation] Resolvable#limit Compatibility Bridge for timeout

1 participant