Skip to content

Conversation

@nathanmonteleone
Copy link

@nathanmonteleone nathanmonteleone commented Jul 23, 2025

Producer.ready? does not really behave like a predicate. Rather it blocks then returns true on success, or raises an exception on timeout. I think wait_ready! is therefore a better name.

https://simplifi.atlassian.net/browse/INT-11818

end

def ready?(server, timeout \\ 10_000) do
def wait_ready!(server, timeout \\ 10_000) do
Copy link
Author

@nathanmonteleone nathanmonteleone Jul 23, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

DynamicProcessorModule is documented with @moduledoc false indicating internal-only, so I believe I am within my rights to just change the function name entirely.

Copy link
Member

@LiruMouse LiruMouse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I swear I reviewed this already 😅

@nathanmonteleone nathanmonteleone merged commit d226343 into main Aug 7, 2025
3 checks passed
@nathanmonteleone nathanmonteleone deleted the better_name_for_ready branch August 7, 2025 17:55
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.

5 participants