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

Function to link command with response #10

Closed
jLynx opened this issue Jan 3, 2024 · 1 comment
Closed

Function to link command with response #10

jLynx opened this issue Jan 3, 2024 · 1 comment

Comments

@jLynx
Copy link
Contributor

jLynx commented Jan 3, 2024

Need to create a function to send off command and wait for a response for that commands response, so for instance if we send off a command for a screenshot or for info we know we are getting the correct response

@jLynx
Copy link
Contributor Author

jLynx commented Jan 15, 2024

This is now included

 const write = async (
    command: string,
    updateFrame: boolean,
    awaitResponse: boolean = true
  ) 

@jLynx jLynx closed this as completed Jan 15, 2024
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

1 participant