Skip to content

Conversation

@stuqdog
Copy link
Member

@stuqdog stuqdog commented Apr 23, 2025

modeled after viamrobotics/viam-python-sdk#904, tested similarly with a modified timeout in simple module.

@stuqdog stuqdog requested a review from a team as a code owner April 23, 2025 19:18
@stuqdog stuqdog requested review from lia-viam and njooma and removed request for a team April 23, 2025 19:18
/// @throws `Exception` if a matching `ResourceServer` doesn't exist in the server.
/// @throws `Exception` if the deadline is not nil and has passed
void add_resource(std::shared_ptr<Resource> resource,
std::chrono::system_clock::time_point* deadline);
Copy link
Collaborator

Choose a reason for hiding this comment

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

minor but i would favor making this a boost::optional

@stuqdog stuqdog merged commit 70b393e into viamrobotics:main Apr 28, 2025
4 checks passed
@stuqdog stuqdog deleted the RSDK-8424-module-timeouts branch April 28, 2025 12:46
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.

2 participants