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

Add types to ticker on message callback functions #104

Open
NithinBiliya opened this issue Dec 28, 2024 · 0 comments
Open

Add types to ticker on message callback functions #104

NithinBiliya opened this issue Dec 28, 2024 · 0 comments

Comments

@NithinBiliya
Copy link

NithinBiliya commented Dec 28, 2024

Currently the ticker on message callback functions do not have defined types. Can we get the added?

     ...
     ticker.connect();
     ticker.on('ticks', onTicks);
     function onTicks(ticks: any[]): void {
         console.log("Ticks", ticks);
     }
     ...

ref

Most important is the shape of ticks. Is this type already available in the library?

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