AllenNeuralDynamics / AllenNeuralDynamics/one-liner

Consider making Stream objects

Ouverte
#31 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Python
Étoiles
3
Forks
0
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

Currently, setting up a stream looks like calling `server.add_stream(...)`, which doesn't return a stream object, or even really create an inspectable stream object. There's another option, of calling `server.get_stream_fn` which sets up a manual stream and returns a callable to add an item to the stream.

I think it would be better if we organized it around `Stream` objects, which kind of feel like Queues. This would simplify the api and make it more recognizable.

Stream Features:
User can always manually `put` to a stream
Stream can be configured to poll a function periodically
User can list or update stream configuration

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.