TREEcg / event-stream-client

Deprecated! Use the rdf-connect/ldes-client instead
https://github.com/rdf-connect/ldes-client
Other
14 stars 9 forks source link

Move state to the client instances #16

Closed hdelva closed 3 years ago

hdelva commented 3 years ago

The book keeper, URI cache and readable stream are currently defined at the module level, which means that all instances of the client share the same state. In order to load multiple streams within the same process, this will have to move to fields of the client instances.