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

support timeout for liveliness get operation #274

Closed
milyin opened this issue Mar 10, 2024 · 2 comments
Closed

support timeout for liveliness get operation #274

milyin opened this issue Mar 10, 2024 · 2 comments
Labels
release Part of the next release

Comments

@milyin
Copy link
Contributor

milyin commented Mar 10, 2024

Describe the release item

Expose this in zenoh-c

impl<'a, 'b, Handler> LivelinessGetBuilder<'a, 'b, Handler> {
    /// Set query timeout.
    #[inline]
    // tags{rust.liveliness_get_builder.timeout, api.liveliness.request.timeout.set}
    pub fn timeout(mut self, timeout: Duration) -> Self {
        self.timeout = timeout;
        self
    }
}
@milyin milyin added the release Part of the next release label Mar 10, 2024
@DenisBiryukov91
Copy link
Contributor

It seems it is already there link

@milyin
Copy link
Contributor Author

milyin commented Mar 11, 2024

Agree, missed it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release Part of the next release
Projects
Status: Done
Development

No branches or pull requests

2 participants