Class to represent a Subscriber on Zenoh, created via calling declare_subscriber() on a session
declare_subscriber()
session
Receives a new message on the subscriber note: If subscriber was created with a callback, this recieve will return undefined, as new samples are being sent to the callback.
Promise<Sample | void>
Undeclares a subscriber on the session
Class to represent a Subscriber on Zenoh, created via calling
declare_subscriber()
on asession