-
Notifications
You must be signed in to change notification settings - Fork 267
feat(pyth-lazer) Implement JRPC endpoint for the lazer agent #2837
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
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
…eat/pyth-lazer/agent/jrpc-schema-1
let receive = async { ws_receiver.receive(&mut receive_buf).await }; | ||
pin!(receive); | ||
loop { | ||
select! { | ||
_result = &mut receive => { | ||
break | ||
} | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've seen you use this idiom elsewhere, could you elaborate on the issue here? Want to make sure I don't make a mistake with this in the future.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice.
5aba2e1
to
ca3c7a1
Compare
Summary
Implement the JRPC endpoint in the lazer agent.
Rationale
Adding the implementation to cover the recently added schema in #2836 as per customer requests
How has this been tested?