-
Hi, is there a way to mark published Zenoh data as invalid/deleted/disposed so that subscribers know that it is no longer valid or no longer exists? |
Beta Was this translation helpful? Give feedback.
Answered by
gabrik
Aug 13, 2024
Replies: 1 comment 1 reply
-
Hi @smnrgrs, you can use the |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
smnrgrs
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @smnrgrs, you can use the
delete
method: https://docs.rs/zenoh/latest/zenoh/prelude/sync/struct.Session.html#method.delete passing a key expression.The subscribers will receive a
Sample
withkind
delete: https://docs.rs/zenoh/latest/zenoh/prelude/enum.SampleKind.html