radicle-dev / radicle-link

The second iteration of the Radicle code collaboration protocol.
Other
421 stars 39 forks source link

librad: pull periodic tasks instead of spawning #730

Closed geigerzaehler closed 2 years ago

geigerzaehler commented 2 years ago

We create a stream with periodic membership tasks that needs to be pulled instead of spawning a tasks that pumps the membership tasks into a channel. This has the advantage that now detached task needs to be spawned and that we stop issuing membership tasks when future retuned by accept() is dropped.