Skip to content

Pass :remote_shutdown messages to the backend - #57

Open
seancribbs wants to merge 1 commit into
phoenixframework:mainfrom
seancribbs:seancribbs/handle-info-remote-shutdown
Open

Pass :remote_shutdown messages to the backend#57
seancribbs wants to merge 1 commit into
phoenixframework:mainfrom
seancribbs:seancribbs/handle-info-remote-shutdown

Conversation

@seancribbs

Copy link
Copy Markdown

Based on the documentation, I was expecting my FLAME.Backend implementation to be able to receive the {:remote_shutdown, reason} message so it could do some cleanup, but they were not being passed to my handle_info callback. This remediates that problem.

While I was in there, I got stumped the argument order of maybe_backend_handle_info being switched from the order of handle_info arguments, so I swapped them to be consistent.

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

Labels

None yet

1 participant