Skip to content
This repository has been archived by the owner on May 26, 2022. It is now read-only.

feat: add ListenClose #319

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

birros
Copy link

@birros birros commented May 9, 2022

Added the missing ListenClose method, as it is impossible to close existing listeners.

Useful in many situations, especially on systems that no longer handle listeners after the operating system has suspended them without closing them, when applications run in the background for example (iOS).

This offers the possibility to update the network listener without completely restarting the swarm.

I think this method should also be added to the network interface.

The decision is yours

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

Successfully merging this pull request may close these issues.

1 participant