Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

introduce interface for data fetching #24

Open
tonybart1337 opened this issue Dec 11, 2024 · 1 comment
Open

introduce interface for data fetching #24

tonybart1337 opened this issue Dec 11, 2024 · 1 comment

Comments

@tonybart1337
Copy link

In order to use this library in our application we would need a way to fetch data from a remote.
I like the way you patched it here, which means that it should be relatively easy to do

I would like to propose some kind of interface that a user will be able to pass to the instance of a demuxer, so when we call load or any other function it will use that interface to fetch the data. Caching can also be implemented into the interface as well

@ForeverSc
Copy link
Collaborator

Yep, I have the same idea. This has been discussed at #11 (comment). I need some spare time to design how to add the interface. If you have better ideas, you’re welcome to submit a pull request. :)

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

No branches or pull requests

2 participants