the_end v1.1.0 TheEnd.AcceptanceStopper
This module’s process stops ranch’s acceptor processes when terminating itself.
So, you should put this module’s spec at last of your application’s supervisor tree.
children = [
# ... other specs
{TheEnd.AcceptanceStopper,
[endpoint: MyApp.Endpoint, gatherer: TheEnd.ListenerGatherer.Plug]}
]
Initialization:
:endpoint- endpoint module:gatherer- module that implements TheEnd.ListenerGatherer behaviour
See Also
Link to this section Summary
Link to this section Functions
Link to this function
start_link(opts)