Skip to content

Add optional callback of format_status/1 to GenServer #12241

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

spencerdcarlson
Copy link

It looks like format_status/2 is deprecated in lieu of format_status/1 as of OTP 19. It looks like gen_server still defines both as callbacks.

@josevalim
Copy link
Member

Hi @spencerdcarlson! format_status/1 was actually added in Erlang/OTP 25, so we are waiting a bit before exposing it as we don't accidentally rely on recent Erlang/OTP versions. Thank you!

@josevalim josevalim closed this Nov 14, 2022
@josevalim
Copy link
Member

Btw, this is tracked on #11220. :)

@spencerdcarlson
Copy link
Author

Thanks! Ooops I should have searched for open issues. 🙈

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

Successfully merging this pull request may close these issues.

2 participants