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

subscribe test #231

Merged
merged 3 commits into from
Sep 20, 2024
Merged

subscribe test #231

merged 3 commits into from
Sep 20, 2024

Conversation

jchris
Copy link
Contributor

@jchris jchris commented Sep 19, 2024

No description provided.

@jchris jchris merged commit 49ce050 into main Sep 20, 2024
2 checks passed
let lastData: Uint8Array | undefined = undefined;
let interval = 100;
const fetchData = async () => {
const result = await this.innerGW.get(url);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mabels this code is definitely in the wrong place, but it works just right -- fallback pattern for gateways that dont have a push capabiliity on the server or haven't implemented it yet

@jchris jchris deleted the gt-test branch September 20, 2024 20:04
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

Successfully merging this pull request may close these issues.

1 participant